Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dl2_normalize_test.cpp63 struct L2NormalizeModel3 { struct
64 const std::vector<int32_t> tensor_shape = {2, 3};
65 int64_t axisValue[1] = {2};
66 float epsilonValue[1] = {1e-10};
68 float inputValue[2][3] = {{-1, -2, -3}, {4, 5, 6}};
69 float outputValue[2][3] = {0};
71 … OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, inputValue, 6*sizeof(float)};
72 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, outputValue, 6*sizeof(float)};
73 OHNNOperandTest axis = {OH_NN_INT64, OH_NN_L2_NORMALIZE_AXIS, {1}, axisValue, sizeof(int64_t)};
74 …perandTest epsilon = {OH_NN_FLOAT32, OH_NN_L2_NORMALIZE_EPSILON, {1}, epsilonValue, sizeof(float)};
[all …]