Searched defs:L2NormalizeModel1 (Results 1 – 1 of 1) sorted by relevance
| /test/xts/acts/ai/nncore/opstest/src/ |
| D | l2_normalize_test.cpp | 25 struct L2NormalizeModel1 { struct 26 const std::vector<int32_t> tensor_shape = {2, 3}; 27 int64_t axisValue[1] = {1}; 28 float epsilonValue[1] = {1e-10}; 30 float inputValue[2][3] = {{-1, -2, -3}, {4, 5, 6}}; 31 float outputValue[2][3] = {0}; 33 … OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, inputValue, 6*sizeof(float)}; 34 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, outputValue, 6*sizeof(float)}; 35 OHNNOperandTest axis = {OH_NN_INT64, OH_NN_L2_NORMALIZE_AXIS, {1}, axisValue, sizeof(int64_t)}; 36 …perandTest epsilon = {OH_NN_FLOAT32, OH_NN_L2_NORMALIZE_EPSILON, {1}, epsilonValue, sizeof(float)}; [all …]
|