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