Home
last modified time | relevance | path

Searched refs:input1_strategy (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/tests/ut/cpp/parallel/ops_info/
Dgenerate_strategy_test.cc62 Dimensions input1_strategy = sp->GetInputDim()[1]; in TEST_F() local
63 ASSERT_EQ(input0_strategy, input1_strategy); in TEST_F()
75 Dimensions input1_strategy = sp->GetInputDim()[1]; in TEST_F() local
76 ASSERT_EQ(input0_strategy[0], input1_strategy[1]); in TEST_F()
78 ASSERT_EQ(input1_strategy.size(), 2); in TEST_F()
90 Dimensions input1_strategy = sp->GetInputDim()[1]; in TEST_F() local
91 ASSERT_EQ(input0_strategy[1], input1_strategy[0]); in TEST_F()
93 ASSERT_EQ(input1_strategy.size(), 1); in TEST_F()
105 Dimensions input1_strategy = sp->GetInputDim()[1]; in TEST_F() local
107 ASSERT_EQ(input1_strategy[0], 1); in TEST_F()
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Dbias_add_info.cc96 Dimensions input1_strategy = {input0_strategy.at(1)}; in GenerateOpStrategies() local
99 tmp_strategy.push_back(input1_strategy); // input1 in GenerateOpStrategies()
Doperator_info.cc1168 Dimensions input1_strategy = sp->GetInputDim()[1]; in GenerateStrategiesForBroadcastRight() local
1172 (void)input1_strategy.erase(input1_strategy.begin(), in GenerateStrategiesForBroadcastRight()
1173 input1_strategy.begin() + static_cast<different_type>(size_diff)); in GenerateStrategiesForBroadcastRight()
1178 input1_strategy[i] = 1; in GenerateStrategiesForBroadcastRight()
1185 tmp_strategy.push_back(input1_strategy); // input1 in GenerateStrategiesForBroadcastRight()
1228 Dimensions input1_strategy = sp->GetInputDim()[1]; in GenerateStrategiesForBroadcastBoth() local
1235 input1_strategy[i] = 1; in GenerateStrategiesForBroadcastBoth()
1238 sp->ResetInputs({input0_strategy, input1_strategy}); in GenerateStrategiesForBroadcastBoth()