Home
last modified time | relevance | path

Searched refs:GetOutputDeviceShape (Results 1 – 25 of 54) sorted by relevance

123

/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/profiling/reporter/
Dgraph_desc_reporter.cc43 element.data_shape_ = AnfAlgo::GetOutputDeviceShape(input_node, input_index); in ReportData()
53 element.data_shape_ = AnfAlgo::GetOutputDeviceShape(node, i); in ReportData()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dascend_inference_session.cc143 auto parameter_shape = AnfAlgo::GetOutputDeviceShape(parameter, 0); in CompareInput()
202 …graph += std::to_string(i) + ": dims " + std::to_string(AnfAlgo::GetOutputDeviceShape(para, 0).siz… in InputsInfo()
203 ", shape " + PrintInputShape(AnfAlgo::GetOutputDeviceShape(para, 0)) + ", data type " + in InputsInfo()
Dgpu_inference_session.cc143 auto parameter_shape = AnfAlgo::GetOutputDeviceShape(parameter, 0); in CompareInput()
202 …graph += std::to_string(i) + ": dims " + std::to_string(AnfAlgo::GetOutputDeviceShape(para, 0).siz… in InputsInfo()
203 ", shape " + PrintInputShape(AnfAlgo::GetOutputDeviceShape(para, 0)) + ", data type " + in InputsInfo()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/mkldnn/
Daddn_cpu_kernel.cc50 std::vector<size_t> dst_shape = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in InitKernel()
97 auto dst_shape = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in CheckParam()
Dpooling_cpu_kernel.cc39 std::vector<size_t> dst_shape = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in InitKernel()
Dconv2d_grad_filter_cpu_kernel.cc37 std::vector<size_t> weight_shape = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in InitKernel()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dremove_reshape_pair.cc50 auto output_shape = AnfAlgo::GetOutputDeviceShape(out_reshape, 0); in Process()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dremove_format_transform_pair.cc55 auto transpose2_output_shape = AnfAlgo::GetOutputDeviceShape(node, 0); in Process()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dtensoradd_cpu_kernel.cc35 output_shape_ = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in InitKernel()
Ddepthtospace_cpu_kernel.cc31 output_shape_ = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in InitKernel()
Dspacetodepth_cpu_kernel.cc35 output_shape_ = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in InitKernel()
Dpack_cpu_kernel.cc44 auto output_shape = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in InitKernel()
Dadam_delta_cpu_kernel.cc63 std::vector<size_t> delta_shape = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in InitKernel()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/host/
Dhost_kernel_mod.cc64 std::vector<size_t> shape_i = AnfAlgo::GetOutputDeviceShape(anf_node, i); in Init()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/aicpu/
Daicpu_kernel_build.cc93 std::vector<size_t> shape_i = AnfAlgo::GetOutputDeviceShape(anf_node, i); in SetIOSize()
234 std::vector<size_t> output_shape = AnfAlgo::GetOutputDeviceShape(anf_node, output_index); in SetNodeOutputs()
344 std::vector<size_t> output_shape = AnfAlgo::GetOutputDeviceShape(anf_node, output_index); in SetExtInfoOutputShapeType()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/trt/
Dtrt_kernel.cc41 auto output_shape = AnfAlgo::GetOutputDeviceShape(kernel_node, j); in Init()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/
Dunpack_gpu_kernel.h75 auto _shape = AnfAlgo::GetOutputDeviceShape(kernel_node, i); in Init()
Dpack_gpu_kernel.h92 auto output_shape = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in Init()
Dmeshgrid_gpu_kernel.h99 output_shape_ = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in Init()
Dconcatv2_gpu_kernel.h114 auto output_shape = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in Init()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/executor/tiling/
Dop_tiling_adapter.cc85 auto ms_shape = AnfAlgo::GetOutputDeviceShape(input_node, input_index); in ConvertInputShapeAndType()
115 auto ms_shape = AnfAlgo::GetOutputDeviceShape(node, i); in ConvertOutputShapeAndType()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/
Dpad_gpu_kernel.h83 std::vector<size_t> output_shape = AnfAlgo::GetOutputDeviceShape(kernel_node, 0); in Init()
/third_party/mindspore/mindspore/ccsrc/runtime/hccl_adapter/
Dall_to_all_v_calc_param.cc63 auto ms_shape = AnfAlgo::GetOutputDeviceShape(cnode, i); in CalcOpParam()
/third_party/mindspore/mindspore/ccsrc/debug/data_dump/
Ddump_utils.cc118 auto shape = AnfAlgo::GetOutputDeviceShape(node, index); in GetDumpIntShape()
/third_party/mindspore/tests/ut/cpp/session/
Danf_runtime_algorithm_test.cc357 TEST_F(AnfRuntimeAlgorithmTest, GetOutputDeviceShape) { in TEST_F() argument
378 EXPECT_EQ(AnfAlgo::GetOutputDeviceShape(add, 0)[2], 224); in TEST_F()
379 EXPECT_EQ(AnfAlgo::GetOutputDeviceShape(add, 1)[0], 2); in TEST_F()
381 EXPECT_EQ(AnfAlgo::GetOutputDeviceShape(add, 2), expect_shape); in TEST_F()
383 EXPECT_EQ(AnfAlgo::GetOutputDeviceShape(add, 3), nz_expect_shape); in TEST_F()

123