Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dl2_normalize_test.cpp44 struct L2NormalizeModel2 { struct
45 const std::vector<int32_t> tensor_shape = {2, 3};
46 int64_t axisValue[1] = {0};
47 float epsilonValue[1] = {1e-10};
49 float inputValue[2][3] = {{-1, -2, -3}, {4, 5, 6}};
50 float outputValue[2][3] = {0};
52 … OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, inputValue, 6*sizeof(float)};
53 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, outputValue, 6*sizeof(float)};
54 OHNNOperandTest axis = {OH_NN_INT64, OH_NN_L2_NORMALIZE_AXIS, {1}, axisValue, sizeof(int64_t)};
55 …perandTest epsilon = {OH_NN_FLOAT32, OH_NN_L2_NORMALIZE_EPSILON, {1}, epsilonValue, sizeof(float)};
[all …]