Searched defs:ReduceMaxModel1 (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/nncore/opstest/src/ |
| D | reducemax_test.cpp | 25 struct ReduceMaxModel1 { struct 26 const std::vector<int32_t> input_shape = {2, 3}; 27 const std::vector<int32_t> output_shape = {3}; 29 bool keepDimsValue[1] = {false}; 30 float inputValue[2][3] = {{1, 2, 3}, {4, 0, 6}}; 31 float axisValue[1] = {0}; 32 float outputValue[3] = {0}; 34 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 6*sizeof(float)}; 35 OHNNOperandTest axis = {OH_NN_FLOAT32, OH_NN_TENSOR, {1}, axisValue, sizeof(float)}; 36 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 3*sizeof(float)}; [all …]
|