Searched defs:UnstackModel4 (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/nncore/opstest/src/ |
| D | unstack_test.cpp | 76 struct UnstackModel4 { struct 77 const std::vector<int32_t> input_shape = {3, 2}; 78 const std::vector<int32_t> output_shape = {1, 2}; 79 int64_t axisValue = 0; 80 float inputValue[3][2] = {{1, 2}, {3, 4}, {5, 6}}; 81 float outputValue[3][1] = {0}; 83 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 6*sizeof(float)}; 84 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 2*sizeof(float)}; 85 OHNNOperandTest axis = {OH_NN_INT64, OH_NN_UNSTACK_AXIS, {1}, &axisValue, sizeof(int64_t)}; 86 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_UNSTACK,
|