Home
last modified time | relevance | path

Searched refs:SetInputsDeviceType (Results 1 – 25 of 69) sorted by relevance

123

/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/ir_fission/
Dtransdata_split_test.cc51 builder.SetInputsDeviceType({kFloat16->type_id()}); in SelectKernel()
60 builder.SetInputsDeviceType({kFloat16->type_id()}); in SelectKernel()
79 builder.SetInputsDeviceType({kFloat16->type_id()}); in SelectKernel()
88 builder.SetInputsDeviceType({kFloat16->type_id()}); in SelectKernel()
122 builder.SetInputsDeviceType({kFloat16->type_id()}); in TEST_F()
170 builder.SetInputsDeviceType({kFloat16->type_id()}); in TEST_F()
Dbn_split_test.cc82 builder.SetInputsDeviceType( in TEST_F()
131 builder.SetInputsDeviceType( in TEST_F()
Dbn_grad_split_test.cc88 builder1.SetInputsDeviceType( in TEST_F()
152 builder1.SetInputsDeviceType( in TEST_F()
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/ir_fusion/
Dlayer_norm_beta_gamma_backprop_fusion_test.cc49 …builder.SetInputsDeviceType({kNumberTypeFloat16, kNumberTypeFloat16, kNumberTypeFloat16, kNumberTy… in Query()
79 builder1.SetInputsDeviceType({kNumberTypeFloat16}); in TEST_F()
98 …builder2.SetInputsDeviceType({kNumberTypeFloat16, kNumberTypeFloat16, kNumberTypeFloat16, kNumberT… in TEST_F()
140 builder1.SetInputsDeviceType({kNumberTypeFloat16}); in TEST_F()
157 …builder2.SetInputsDeviceType({kNumberTypeFloat16, kNumberTypeFloat16, kNumberTypeFloat16, kNumberT… in TEST_F()
199 builder1.SetInputsDeviceType({kNumberTypeFloat16}); in TEST_F()
216 …builder2.SetInputsDeviceType({kNumberTypeFloat16, kNumberTypeFloat16, kNumberTypeFloat16, kNumberT… in TEST_F()
253 builder1.SetInputsDeviceType({kNumberTypeFloat16}); in TEST_F()
265 …builder2.SetInputsDeviceType({kNumberTypeFloat16, kNumberTypeFloat16, kNumberTypeFloat16, kNumberT… in TEST_F()
307 builder1.SetInputsDeviceType({kNumberTypeFloat16}); in TEST_F()
[all …]
Dtranspose_transdata_fusion_test.cc58 builder.SetInputsDeviceType({kFloat16->type_id()}); in SelectKernel()
67 builder.SetInputsDeviceType({kFloat16->type_id()}); in SelectKernel()
103 builder.SetInputsDeviceType({kFloat16->type_id()}); in TEST_F()
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/format_type/
Dmerge_cast_to_op_test.cc53 builder.SetInputsDeviceType({kNumberTypeFloat32}); in Query()
60 builder.SetInputsDeviceType({kNumberTypeFloat16}); in Query()
99 builder1.SetInputsDeviceType({kNumberTypeFloat16}); in TEST_F()
112 builder2.SetInputsDeviceType({kNumberTypeFloat32}); in TEST_F()
162 builder1.SetInputsDeviceType({kNumberTypeFloat16}); in TEST_F()
175 builder2.SetInputsDeviceType({kNumberTypeFloat16}); in TEST_F()
Dcheck_consistency_test.cc69 builder1.SetInputsDeviceType({kNumberTypeFloat32}); in TEST_F()
82 builder2.SetInputsDeviceType({kNumberTypeFloat32}); in TEST_F()
130 builder1.SetInputsDeviceType({kNumberTypeFloat32}); in TEST_F()
143 builder2.SetInputsDeviceType({kNumberTypeFloat16}); in TEST_F()
Dinsert_cast_test.cc59 builder.SetInputsDeviceType({kFloat16->type_id(), kFloat16->type_id()}); in TEST_F()
66 builder1.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
116 builder.SetInputsDeviceType({kFloat16->type_id()}); in TEST_F()
120 builder1.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
Dinsert_trans_op_test.cc52 builder.SetInputsDeviceType({kFloat16->type_id(), kFloat16->type_id()}); in GetSingleOutputGraph()
78 builder.SetInputsDeviceType({kFloat16->type_id()}); in GetMutilpleOutputGraph()
98 builder.SetInputsDeviceType({kFloat16->type_id()}); in SelectKernel()
Dremove_internal_output_test.cc55 builder.SetInputsDeviceType({kFloat32->type_id(), kFloat32->type_id()}); in GetSingleOutputGraph()
86 builder.SetInputsDeviceType({kFloat32->type_id()}); in GetMutilpleOutputGraph()
103 builder.SetInputsDeviceType({kFloat16->type_id()}); in SelectKernel()
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/buffer_fusion/
Dbuffer_fusion_test.cc69 builder.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
84 builder1.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
140 builder.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
163 builder1.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
176 builder2.SetInputsDeviceType({kFloat32->type_id(), kFloat32->type_id()}); in TEST_F()
230 builder.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
253 builder1.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
266 builder2.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
312 builder.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
324 builder2.SetInputsDeviceType({kFloat32->type_id(), kFloat32->type_id()}); in TEST_F()
[all …]
/third_party/mindspore/tests/ut/cpp/pre_activate/pass/
Dallreduce_fusion_test.cc55 builder.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
96 builder.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
137 builder.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
194 builder.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
Deliminate_redundant_op_test.cc62 builder.SetInputsDeviceType({kFloat16->type_id()}); in SelectKernel()
105 builder.SetInputsDeviceType({kFloat16->type_id(), kFloat16->type_id()}); in TEST_F()
172 builder.SetInputsDeviceType({kFloat16->type_id(), kFloat16->type_id()}); in TEST_F()
249 builder.SetInputsDeviceType({kFloat16->type_id(), kFloat16->type_id()}); in TEST_F()
/third_party/mindspore/tests/ut/cpp/tbe/
Dtbe_json_creator_test.cc64 builder.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
107 builder.SetInputsDeviceType({kFloat32->type_id(), kFloat32->type_id()}); in TEST_F()
163 …builder.SetInputsDeviceType({kFloat16->type_id(), kFloat16->type_id(), kFloat16->type_id(), kFloat… in TEST_F()
219 builder.SetInputsDeviceType({kFloat32->type_id(), kFloat32->type_id(), kFloat32->type_id()}); in TEST_F()
264 builder.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
279 builder1.SetInputsDeviceType({kFloat32->type_id()}); in TEST_F()
336 builder.SetInputsDeviceType({kFloat32->type_id(), kFloat32->type_id()}); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/
Ddynamic_rnn_grad_reformat.cc53 matmul_new_builder->SetInputsDeviceType({kNumberTypeFloat16, kNumberTypeFloat16}); in Process()
67 split_new_builder->SetInputsDeviceType(split_kernel_build_info->GetAllInputDeviceTypes()); in Process()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dsubstitute_dropout.cc61 uniform_real_kernel_info_builder->SetInputsDeviceType({kNumberTypeInt32}); in PreProcess()
77 …dropout_kernel_info_builder->SetInputsDeviceType({old_kernel_info->GetInputDeviceType(0), kNumberT… in PreProcess()
Ddecrease_transfer_precision.cc168 graph_info_builder.SetInputsDeviceType(cnode_input_type); in Process_Father()
251 gk_builder_info->SetInputsDeviceType(new_inputs_type); in Process_Son()
281 node_info_builder.SetInputsDeviceType(cnode_input_type); in Process_Son()
Ddecrease_compute_precision.cc45 builder.SetInputsDeviceType({input_type}); in AddCastCNode()
183 graph_info_builder.SetInputsDeviceType(cnode_input_type); in Process()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/host/
Dhost_kernel_metadata.cc57 builder.SetInputsDeviceType(inputs_type); in HostMetadataInfo()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dtranspose_transdata_fusion.cc50 new_transdata_builder->SetInputsDeviceType(transdata_kernel_build_info->GetAllInputDeviceTypes()); in Process()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/aicpu/
Daicpu_kernel_metadata.cc73 builder.SetInputsDeviceType(inputs_type); in AicpuMetadataInfoForSpecialNodes()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/rts/
Drt_kernel_info.cc77 kernel_build_info_builder->SetInputsDeviceType(input_types); in GetRtKelInfo()
Dlabel_switch.cc86 builder.SetInputsDeviceType({input_type[i]}); in GetKernelInfo()
/third_party/mindspore/tests/ut/cpp/pre_activate/mem_reuse/
Dmem_reuse_test.cc95 builder.SetInputsDeviceType({kFloat32->type_id(), kFloat32->type_id()}); in CreateKernelGraph()
126 relu_builder.SetInputsDeviceType({kFloat32->type_id()}); in CreateKernelGraph()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dadd_relu_v2_fusion.cc47 builder.SetInputsDeviceType(inputs_type); in GenerateKernelBuildInfo()

123