Home
last modified time | relevance | path

Searched defs:ReduceSumModel4 (Results 1 – 1 of 1) sorted by relevance

/test/xts/acts/ai/nncore/opstest/src/
Dreducesum_test.cpp91 struct ReduceSumModel4 { struct
92 const std::vector<int32_t> input_shape = {2, 3};
93 const std::vector<int32_t> output_shape = {2, 1};
95 bool keepDimsValue[1] = {true};
96 bool reduceToEndValue[1] = {false};
97 float inputValue[2][3] = {{1, 2, 3}, {4, 5, 6}};
98 float axisValue[1] = {1};
99 float outputValue[2][1] = {0};
101 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 6*sizeof(float)};
102 OHNNOperandTest axis = {OH_NN_FLOAT32, OH_NN_TENSOR, {1}, &axisValue, sizeof(float)};
[all …]