Home
last modified time | relevance | path

Searched defs:ClipModel4 (Results 1 – 1 of 1) sorted by relevance

/test/xts/acts/ai/nncore/opstest/src/
Dclip_test.cpp82 struct ClipModel4 { struct
83 const std::vector<int32_t> input_shape = {7};
84 const std::vector<int32_t> output_shape = {7};
85 float minValue[1] = {1};
86 float maxValue[1] = {1.1};
87 float inputValue[7] = {-3, -2, -1, 0, 1, 2, 3};
88 float outputValue[7] = {0};
90 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 7*sizeof(float)};
91 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 7*sizeof(float)};
92 OHNNOperandTest min = {OH_NN_FLOAT32, OH_NN_CLIP_MIN, {1}, minValue, sizeof(float)};
[all …]