Searched defs:SelectModel2 (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/nncore/opstest/src/ |
| D | select_test.cpp | 43 struct SelectModel2 { struct 44 const std::vector<int32_t> tensor_shape = {3}; 45 bool input0Value[3] = {true, false, false}; 46 float input1Value[3] = {1, 2, 3}; 47 float input2Value[3] = {4, 5, 6}; 48 float outputValue[3] = {0}; 50 OHNNOperandTest input0 = {OH_NN_BOOL, OH_NN_TENSOR, tensor_shape, input0Value, 3*sizeof(bool)}; 51 …OHNNOperandTest input1 = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, input1Value, 3*sizeof(float)}; 52 …OHNNOperandTest input2 = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, input2Value, 3*sizeof(float)}; 53 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, outputValue, 3*sizeof(float)}; [all …]
|