Searched defs:PowModel2 (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/nncore/opstest/src/ |
| D | pow_test.cpp | 45 struct PowModel2 { struct 46 const std::vector<int32_t> tensor_shape = {1}; 47 float scaleValue = 1; 48 float shiftValue = 0; 49 float input0Value[1] = {2}; 50 float input1Value[1] = {3}; 51 float outputValue[1] = {0}; 53 … OHNNOperandTest input0 = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, input0Value, sizeof(float)}; 54 … OHNNOperandTest input1 = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, input1Value, sizeof(float)}; 55 … OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, outputValue, sizeof(float)}; [all …]
|