Searched defs:ClipModel1 (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/nncore/opstest/src/ |
| D | clip_test.cpp | 25 struct ClipModel1 { struct 26 const std::vector<int32_t> input_shape = {7}; 27 const std::vector<int32_t> output_shape = {7}; 28 float minValue[1] = {-1}; 29 float maxValue[1] = {1}; 30 float inputValue[7] = {-3, -2, -1, 0, 1, 2, 3}; 31 float outputValue[7] = {0}; 33 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 7*sizeof(float)}; 34 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 7*sizeof(float)}; 35 OHNNOperandTest min = {OH_NN_FLOAT32, OH_NN_CLIP_MIN, {1}, minValue, sizeof(float)}; [all …]
|