Home
last modified time | relevance | path

Searched refs:output_tensor_map (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Dtensordot_info.cc217 TensorMap input_b_tensor_map, output_tensor_map; in InferTensorMapAxesInt() local
223 output_tensor_map = tensor_map_index; in InferTensorMapAxesInt()
224 (void)output_tensor_map.erase( in InferTensorMapAxesInt()
225output_tensor_map.begin() + static_cast<different_type>(inputs_shape_[0].size() - IntToSize(axes_i… in InferTensorMapAxesInt()
226 output_tensor_map.begin() + static_cast<different_type>(inputs_shape_[0].size())); in InferTensorMapAxesInt()
229 outputs_tensor_map_.push_back(output_tensor_map); in InferTensorMapAxesInt()
237 TensorMap input_b_tensor_map, output_tensor_map, tmp_b_map_index; in InferTensorMapAxesTuple() local
270 output_tensor_map.push_back(tensor_map_index[i]); in InferTensorMapAxesTuple()
274 outputs_tensor_map_.push_back(output_tensor_map); in InferTensorMapAxesTuple()
Ddsd_matmul_info.cc135 TensorMap output_tensor_map; in InferTensorMap() local
139 output_tensor_map.push_back((int64_t)(outputs_shape_[0].size() - i)); in InferTensorMap()
141 output_tensor_map.push_back((int64_t)(MAP_NONE)); in InferTensorMap()
147 outputs_tensor_map_.push_back(output_tensor_map); in InferTensorMap()
Dactivation_info.cc423 Shape input_tensor_map, output_tensor_map; in InferTensorMap() local
431 output_tensor_map = input_tensor_map; in InferTensorMap()
436 (void)output_tensor_map.insert(output_tensor_map.begin() + positive_axis_, NO_SPLIT_MAP); in InferTensorMap()
437 outputs_tensor_map_.push_back(output_tensor_map); in InferTensorMap()
440 << ", and the tensor map of output is " << ShapeToString(output_tensor_map); in InferTensorMap()
553 Shape input_tensor_map, output_tensor_map; in InferTensorMap() local
564 output_tensor_map.push_back(SizeToLong(index)); in InferTensorMap()
569 outputs_tensor_map_.push_back(output_tensor_map); in InferTensorMap()
571 << ", and the tensor map of output is " << ShapeToString(output_tensor_map); in InferTensorMap()
Dgathernd_info.cc103 TensorMap output_tensor_map(outputs_shape_[0].size(), MAP_NONE); in InferTensorMap() local
105 output_tensor_map[i] = indices_tensor_map[i]; in InferTensorMap()
110 outputs_tensor_map_.push_back(output_tensor_map); in InferTensorMap()
Duniform_real_info.cc78 TensorMap output_tensor_map; in InferTensorMap() local
84 output_tensor_map.push_back(SizeToLong(size - i - 1)); in InferTensorMap()
88 (void)outputs_tensor_map_.emplace_back(std::move(output_tensor_map)); in InferTensorMap()
Drange_info.cc79 TensorMap input_tensor_map = {0}, output_tensor_map = {0}; in InferTensorMap() local
82 outputs_tensor_map_.push_back(output_tensor_map); in InferTensorMap()
Dtile_info.cc110 TensorMap output_tensor_map; in InferTensorMap() local
129 output_tensor_map.push_back(size - i - 1); in InferTensorMap()
133 outputs_tensor_map_.push_back(output_tensor_map); in InferTensorMap()
Dresizebilinear_info.cc97 TensorMap output_tensor_map = {3, 2, 1, 0}; in InferTensorMap() local
100 (void)outputs_tensor_map_.emplace_back(std::move(output_tensor_map)); in InferTensorMap()
Dmaxpool_info.cc173 TensorMap output_tensor_map = {3, 2, 1, 0}; in InferTensorMap() local
176 (void)outputs_tensor_map_.emplace_back(std::move(output_tensor_map)); in InferTensorMap()
Dmatmul_info.cc262 TensorMap output_tensor_map = tensor_map_index; in InferTensorMap() local
263 …(void)output_tensor_map.erase(output_tensor_map.begin() + static_cast<different_type>(SECOND_FROM_… in InferTensorMap()
304 output_tensor_map = {1, 0}; in InferTensorMap()
310 outputs_tensor_map_.push_back(output_tensor_map); in InferTensorMap()
/third_party/mindspore/tests/ut/cpp/parallel/ops_info/
Dreshape_test.cc149 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
152 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
170 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
173 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Dmatmul_info_test.cc184 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
188 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
210 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
214 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
236 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
240 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
339 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
343 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Dprelu_test.cc118 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
121 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
223 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
226 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Dgelu_info_test.cc112 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
115 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Dlog_softmax_info_test.cc113 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
116 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Dpow_info_test.cc112 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
115 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Dtanh_info_test.cc112 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
115 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Dsoftmax_info_test.cc117 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
120 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Dactivation_info_test.cc113 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
116 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Donehot_info_test_axis_0.cc118 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
121 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Dtranspose_test.cc128 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
131 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Dtmpidentity_test.cc114 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
117 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Dl2_normalize_info_test.cc113 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
116 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Donehot_info_test.cc118 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
121 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()
Dreduce_method_test.cc117 Map output_tensor_map = output_tensor_info.tensor_layout().origin_tensor_map(); in TEST_F() local
120 ASSERT_EQ(output_tensor_map.array(), output_expect); in TEST_F()

12