Searched defs:ClipModel2 (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/nncore/opstest/src/ |
| D | clip_test.cpp | 44 struct ClipModel2 { struct 45 const std::vector<int32_t> input_shape = {7}; 46 const std::vector<int32_t> output_shape = {7}; 47 float minValue[1] = {1}; 48 float maxValue[1] = {1}; 49 float inputValue[7] = {-3, -2, -1, 0, 1, 2, 3}; 50 float outputValue[7] = {0}; 52 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 7*sizeof(float)}; 53 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 7*sizeof(float)}; 54 OHNNOperandTest min = {OH_NN_FLOAT32, OH_NN_CLIP_MIN, {1}, minValue, sizeof(float)}; [all …]
|