Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dleaky_relu_test.cpp43 struct LeakyReluModel2 { struct
44 const std::vector<int32_t> input_shape = {3};
45 const std::vector<int32_t> output_shape = {3};
46 float negativeSlopeValue[1] = {0.01};
47 float inputValue[3] = {-0.5, -1.0, -1.5};
48 float outputValue[3] = {0};
50 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 3*sizeof(float)};
51 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 3*sizeof(float)};
52 OHNNOperandTest negativeSlope = {
54 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LEAKY_RELU,