Home
last modified time | relevance | path

Searched refs:y_dtype (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/mindspore/ops/operations/
Dmath_ops.py93 def do_infer_dtype(x_dtype, y_dtype, valid_dtype=mstype.number_type, prim_name=None): argument
95 args_type = {"x": x_dtype, "y": y_dtype}
97 if x_dtype in complex_types or y_dtype in complex_types:
106 if (x_dtype.element_type(), y_dtype.element_type()) not in tpye_infer_dict.keys():
111 return tpye_infer_dict.get((x_dtype.element_type(), y_dtype.element_type()))
116 def infer_dtype(self, x_dtype, y_dtype): argument
117 return _MathBinaryOp.do_infer_dtype(x_dtype, y_dtype, mstype.number_type, self.name)
1808 def infer_dtype(self, x_dtype, y_dtype): argument
1810 return _MathBinaryOp.do_infer_dtype(x_dtype, y_dtype, valid_type, self.name)
2202 y_dtype = mstype.int32
[all …]
D_grad_ops.py733 def infer_dtype(self, y_backprop_dtype, x_dtype, y_dtype): argument
737 (y_backprop_dtype, x_dtype, y_dtype)))
997 def infer_dtype(self, x_dtype, y_dtype, grad_dtype): argument
998 args = {'x_dtype': x_dtype, 'y_dtype': y_dtype, 'grad_dtype': grad_dtype}
1028 def infer_dtype(self, x_dtype, y_dtype, grad_dtype): argument
1029 args = {'x_dtype': x_dtype, 'y_dtype': y_dtype}
1270 def infer_dtype(self, y_dtype, dy_dtype, dhy_dtype, dcy_dtype, w_dtype, argument
1308 def infer_dtype(self, x_dtype, hx_dtype, y_dtype, reserve_dtype, state_dtype): argument
1361 …def infer_dtype(self, x_dtype, hx_dtype, cx_dtype, w_dtype, y_dtype, hy_dtype, cy_dtype, dy_dtype,… argument
1407 def infer_dtype(self, x_dtype, w_dtype, b_dtype, y_dtype, init_h_dtype, init_c_dtype, h_dtype, argument
[all …]
Dcomm_ops.py805 def infer_dtype(self, x_dtype, y_dtype): argument
844 def infer_dtype(self, x_dtype, y_dtype): argument
864 def infer_dtype(self, x_dtype, y_dtype): argument
Dnn_ops.py4045 def infer_dtype(self, x_dtype, y_dtype): argument
4046 args = {"x_dtype": x_dtype, "y_dtype": y_dtype}
/third_party/mindspore/tests/ut/python/optimizer/
Dtest_debug_location.py59 def infer_dtype(self, x_dtype, y_dtype): argument
/third_party/mindspore/mindspore/nn/layer/
Dmath.py706 y_dtype = self.dtype(y)
708 _check_input_dtype("y", y_dtype, x_dtype, self.cls_name)