Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dreducemax_test.cpp65 struct ReduceMaxModel3 { struct
66 const std::vector<int32_t> input_shape = {3, 2};
67 const std::vector<int32_t> output_shape = {3};
69 bool keepDimsValue[1] = {false};
70 float inputValue[3][2] = {{7, 8}, {3, 4}, {5, 1}};
71 float axisValue[1] = {-1};
72 float outputValue[3] = {0};
74 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 6*sizeof(float)};
75 OHNNOperandTest axis = {OH_NN_FLOAT32, OH_NN_TENSOR, {1}, axisValue, sizeof(float)};
76 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 3*sizeof(float)};
[all …]