Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dclip_test.cpp63 struct ClipModel3 { struct
64 const std::vector<int32_t> input_shape = {7};
65 const std::vector<int32_t> output_shape = {7};
66 float minValue[1] = {1};
67 float maxValue[1] = {0};
68 float inputValue[7] = {-3, -2, -1, 0, 1, 2, 3};
69 float outputValue[7] = {0};
71 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 7*sizeof(float)};
72 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 7*sizeof(float)};
73 OHNNOperandTest min = {OH_NN_FLOAT32, OH_NN_CLIP_MIN, {1}, minValue, sizeof(float)};
[all …]