Searched defs:SelectModel3 (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/nncore/opstest/src/ |
| D | select_test.cpp | 61 struct SelectModel3 { struct 62 const std::vector<int32_t> input0_shape = {2}; 63 const std::vector<int32_t> input_shape = {3}; 64 bool input0Value[2] = {true, false}; 65 float input1Value[3] = {1, 2, 3}; 66 float input2Value[3] = {4, 5, 6}; 67 float outputValue[3] = {0}; 69 OHNNOperandTest input0 = {OH_NN_BOOL, OH_NN_TENSOR, input0_shape, input0Value, 2*sizeof(bool)}; 70 … OHNNOperandTest input1 = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, input1Value, 3*sizeof(float)}; 71 … OHNNOperandTest input2 = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, input2Value, 3*sizeof(float)}; [all …]
|