Searched defs:SelectModel1 (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/nncore/opstest/src/ |
| D | select_test.cpp | 25 struct SelectModel1 { struct 26 const std::vector<int32_t> tensor_shape = {1}; 27 bool input0Value[1] = {true}; 28 float input1Value[1] = {1}; 29 float input2Value[1] = {4}; 30 float outputValue[1] = {0}; 32 OHNNOperandTest input0 = {OH_NN_BOOL, OH_NN_TENSOR, tensor_shape, input0Value, sizeof(bool)}; 33 … OHNNOperandTest input1 = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, input1Value, sizeof(float)}; 34 … OHNNOperandTest input2 = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, input2Value, sizeof(float)}; 35 … OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, outputValue, sizeof(float)}; [all …]
|