Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dreducemax_test.cpp45 struct ReduceMaxModel2 { struct
46 const std::vector<int32_t> input_shape = {2, 3};
47 const std::vector<int32_t> output_shape = {2, 1};
49 bool keepDimsValue[1] = {true};
50 float inputValue[2][3] = {{1, 2, 3}, {4, 0, 6}};
51 float axisValue[1] = {1};
52 float outputValue[2][1] = {0};
54 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 6*sizeof(float)};
55 OHNNOperandTest axis = {OH_NN_FLOAT32, OH_NN_TENSOR, {1}, axisValue, sizeof(float)};
56 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 2*sizeof(float)};
[all …]