Home
last modified time | relevance | path

Searched refs:ms_dtype (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/tests/st/ops/gpu/
Dtest_pyfunc_op.py47 def func_with_dtype(ms_dtype, np_dtype): argument
56 net = PyFuncNet(func_single_output, [ms_dtype, ms_dtype], [shape, shape], [ms_dtype], [shape])
129 ms_dtype = ms.int32
135 net = PyFuncGraph(func_single_output, [ms_dtype, ms_dtype], [shape, shape], [ms_dtype], [shape])
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/executor/tiling/
Dop_tiling_adapter.cc87 auto ms_dtype = AnfAlgo::GetOutputDeviceDataType(input_node, input_index); in ConvertInputShapeAndType() local
92 ge::DataType ge_dtype = ascend::GeTypesConvert::TransTypeIdToGeDataType(ms_dtype); in ConvertInputShapeAndType()
118 auto ms_dtype = AnfAlgo::GetOutputDeviceDataType(node, i); in ConvertOutputShapeAndType() local
122 ge::DataType ge_dtype = ascend::GeTypesConvert::TransTypeIdToGeDataType(ms_dtype); in ConvertOutputShapeAndType()
157 auto ms_dtype = AnfAlgo::GetPrevNodeOutputDeviceDataType(node, index); in NewConstantOp() local
166 ge::DataType ge_dtype = ascend::GeTypesConvert::TransTypeIdToGeDataType(ms_dtype); in NewConstantOp()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/trt/
Dtrt_utils.h51 static std::variant<bool, nvinfer1::DataType> MsDtypeToTrtDtype(const TypeId &ms_dtype) { in MsDtypeToTrtDtype() argument
57 auto iter = type_list.find(ms_dtype); in MsDtypeToTrtDtype()
59 MS_LOG(WARNING) << "data type not support: " << ms_dtype; in MsDtypeToTrtDtype()
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/src/FasterRcnn/
Droi_align.py103 self.ms_dtype = mstype.float16 if _mode_16 else mstype.float32
/third_party/mindspore/mindspore/nn/layer/
Dmath.py154 self.ms_dtype = mstype.float32
156 self.ms_dtype = mstype.int32
157 self.result_tensor = Tensor(data, dtype=self.ms_dtype)