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