Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dexp_test.cpp59 struct ExpModel3 { struct
60 const std::vector<int32_t> tensor_shape = {3, 3};
61 float baseValue = 0;
62 float scaleValue = 1.5;
63 float shiftValue = 1;
64 float inputValue[3][3] = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};
65 float outputValue[3][3] = {0};
67 … OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, inputValue, 9*sizeof(float)};
68 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, tensor_shape, outputValue, 9*sizeof(float)};
69 OHNNOperandTest base = {OH_NN_FLOAT32, OH_NN_EXP_BASE, {1}, &baseValue, sizeof(float)};
[all …]