Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dflatten_test.cpp40 struct FlattenModel2 { struct
41 const std::vector<int32_t> input_shape = {2, 2, 2};
42 const std::vector<int32_t> output_shape = {8};
43 float inputValue[2][2][2] = {{{1, 2}, {3, 4}}, {{5, 6}, {7, 8}}};
44 float outputValue[8] = {0};
46 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 8*sizeof(float)};
47 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 8*sizeof(float)};
48 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_FLATTEN,