Home
last modified time | relevance | path

Searched refs:get_dtype (Results 1 – 21 of 21) sorted by relevance

/third_party/mindspore/mindspore/ops/_grad/
Dgrad_inner_ops.py48 get_dtype = P.DType()
52 dtype = get_dtype(dout)
63 get_dtype = P.DType()
69 dtype = get_dtype(dout)
73 dtype = get_dtype(x)
83 get_dtype = P.DType()
92 grad_dtype = get_dtype(dout)
Dgrad_array_ops.py93 get_dtype = P.DType()
94 dx = cast(dout, get_dtype(x))
102 get_dtype = P.DType()
103 dx = cast(dout, get_dtype(x))
111 get_dtype = P.DType()
112 values = cast(dout.values, get_dtype(x))
120 get_dtype = P.DType()
123 dx = cast(dout, get_dtype(x))
902 get_dtype = P.DType()
908 num_selected = unsorted_segment_sum(cast(is_selected, get_dtype(dout)),
Dgrad_implementations.py24 get_dtype = P.DType() variable
32 out0 = F.cast(out[0] != 0, get_dtype(dout[0]))
33 out1 = F.cast(out[1] != 0, get_dtype(dout[1]))
/third_party/mindspore/tests/st/ops/graph_kernel/
Dtest_softmax_stitch.py39 self.get_dtype = P.DType()
43 … multiply_out = self.sub(self.cast(F.tuple_to_array((1.0,)), self.get_dtype(attention_scores)),
44 self.cast(attention_mask, self.get_dtype(attention_scores)))
/third_party/boost/libs/python/example/numpy/
Dwrap.cpp52 if (array.get_dtype() != np::dtype::get_builtin<double>()) { in wrap_fill1()
83 if (array.get_dtype() != np::dtype::get_builtin<double>()) { in wrap_fill2()
Ddtype.cpp36 std::cout << "Datatype is:\n" << p::extract<char const *>(p::str(a.get_dtype())) << std::endl ; in main()
/third_party/mindspore/tests/mindspore_test_framework/apps/
Dbert_attention_submodules.py178 self.get_dtype = P.DType()
186 self.cast(attention_mask, self.get_dtype(attention_scores)))
209 self.get_dtype = P.DType()
217 self.cast(attention_mask, self.get_dtype(attention_scores)))
/third_party/boost/libs/python/doc/numpy/tutorial/
Ddtype.rst31 We can also print the dtypes of the data members of the ndarray by using the get_dtype method for t…
33 std::cout << "Datatype is:\n" << p::extract<char const *>(p::str(a.get_dtype())) << std::endl ;
/third_party/boost/libs/python/doc/html/numpy/_sources/tutorial/
Ddtype.rst.txt31 We can also print the dtypes of the data members of the ndarray by using the get_dtype method for t…
33 std::cout << "Datatype is:\n" << p::extract<char const *>(p::str(a.get_dtype())) << std::endl ;
/third_party/mindspore/mindspore/offline_debug/
Ddbg_services.py284 … tensor_data = TensorData(b'', elem.get_data_size(), elem.get_dtype(), elem.get_shape())
286 …tensor_data = TensorData(elem.get_data_ptr(), elem.get_data_size(), elem.get_dtype(), elem.get_sha…
595 return self.instance.get_dtype()
/third_party/mindspore/mindspore/nn/layer/
Dconv.py414 get_dtype = P.DType()
418 weight_init_dtype = get_dtype(weight_init)
1209 get_dtype = P.DType()
1213 weight_init_dtype = get_dtype(weight_init)
/third_party/mindspore/mindspore/ccsrc/debug/debugger/offline_debug/
Dmi_pybind_register.cc66 .def("get_dtype", &tensor_data_t::get_dtype) in PYBIND11_MODULE()
Ddbg_services.h114 const int get_dtype() const { return dtype; } in get_dtype() function
/third_party/boost/boost/python/numpy/
Dinvoke_matching.hpp181 invoke_matching_dtype<TypeSequence>(array_.get_dtype(), wrapper); in invoke_matching_array()
Dndarray.hpp104 dtype get_dtype() const;
/third_party/mindspore/tests/st/networks/models/bert/src/
Dbert_model.py479 self.get_dtype = P.DType()
539 … multiply_out = self.sub(self.cast(F.tuple_to_array((1.0,)), self.get_dtype(attention_scores)),
540 self.cast(attention_mask, self.get_dtype(attention_scores)))
/third_party/mindspore/tests/st/fl/albert/src/
Dmodel.py431 self.get_dtype = P.DType()
486 … multiply_out = self.sub(self.cast(F.tuple_to_array((1.0,)), self.get_dtype(attention_scores)),
487 self.cast(attention_mask, self.get_dtype(attention_scores)))
/third_party/boost/libs/python/doc/numpy/reference/
Dndarray.rst47 dtype get_dtype() const;
293 dtype get_dtype() const;
/third_party/boost/libs/python/doc/html/numpy/_sources/reference/
Dndarray.rst.txt47 dtype get_dtype() const;
293 dtype get_dtype() const;
/third_party/boost/libs/python/src/numpy/
Dndarray.cpp183 dtype ndarray::get_dtype() const in get_dtype() function in boost::python::numpy::ndarray
/third_party/mindspore/mindspore/numpy/
Dmath_ops.py5299 def get_dtype(x): function
5304 dtype_out = get_dtype(arrays_and_dtypes[0])
5306 dtype_out = _promote(dtype_out, get_dtype(i))