Home
last modified time | relevance | path

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

/test/xts/acts/ai/nncore/opstest/src/
Dleaky_relu_test.cpp61 struct LeakyReluModel3 { struct
62 const std::vector<int32_t> input_shape = {3};
63 const std::vector<int32_t> output_shape = {3};
64 float negativeSlopeValue[1] = {0};
65 float inputValue[3] = {-0.5, -1.0, -1.5};
66 float outputValue[3] = {0};
68 OHNNOperandTest input = {OH_NN_FLOAT32, OH_NN_TENSOR, input_shape, inputValue, 3*sizeof(float)};
69 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, output_shape, outputValue, 3*sizeof(float)};
70 OHNNOperandTest negativeSlope = {
72 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LEAKY_RELU,