Searched defs:AddModel (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/neural_network_runtime/common/ |
| D | model.h | 25 struct AddModel { struct 27 float inputValue0[4] = {0, 1, 2, 3}; 28 float inputValue1[4] = {0, 1, 2, 3}; 29 int8_t activationValue = OH_NN_FUSED_NONE; 30 float outputValue[4] = {0}; 31 float expectValue[4] = {0, 2, 4, 6}; 33 …OHNNOperandTest input0 = {OH_NN_FLOAT32, OH_NN_TENSOR, TENSOR_SHAPE, inputValue0, ADD_DATA_LENGTH}; 34 …OHNNOperandTest input1 = {OH_NN_FLOAT32, OH_NN_TENSOR, TENSOR_SHAPE, inputValue1, ADD_DATA_LENGTH}; 35 …randTest activation = {OH_NN_INT8, OH_NN_ADD_ACTIVATIONTYPE, {}, &activationValue, sizeof(int8_t)}; 36 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, TENSOR_SHAPE, outputValue, ADD_DATA_LENGTH}; [all …]
|