Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dleaky_relu_test.cpp25 struct LeakyReluModel1 { struct
26 const std::vector<int32_t> input_shape = {3};
27 const std::vector<int32_t> output_shape = {3};
28 float negativeSlopeValue[1] = {0.01};
29 float inputValue[3] = {0.5, 1.0, 1.5};
30 float outputValue[3] = {0};
32 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 3*sizeof(float)};
33 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 3*sizeof(float)};
34 OHNNOperandTest negativeSlope = {
36 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LEAKY_RELU,