Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dreducesum_test.cpp47 struct ReduceSumModel2 { struct
48 const std::vector<int32_t> input_shape = {2, 3};
49 const std::vector<int32_t> output_shape = {2};
51 bool keepDimsValue[1] = {false};
52 bool reduceToEndValue[1] = {false};
53 float inputValue[2][3] = {{1, 2, 3}, {4, 5, 6}};
54 float axisValue[1] = {1};
55 float outputValue[2] = {0};
57 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 6*sizeof(float)};
58 OHNNOperandTest axis = {OH_NN_FLOAT32, OH_NN_TENSOR, {1}, axisValue, sizeof(float)};
[all …]