Lines Matching full:negative_slope
83 inline LeakyReLUOperatorTester& negative_slope(float negative_slope) { in negative_slope() argument
84 assert(std::isnormal(negative_slope)); in negative_slope()
85 this->negative_slope_ = negative_slope; in negative_slope()
89 inline float negative_slope() const { in negative_slope() function
155 const uint16_t negative_slope_as_half = fp16_ieee_from_fp32_value(negative_slope()); in TestF16()
173 negative_slope(), in TestF16()
223 const float y = std::signbit(x) ? x * negative_slope() : x; in TestF32()
235 negative_slope(), in TestF32()
257 … << ", input " << input[i * input_stride() + c] << ", negative slope " << negative_slope(); in TestF32()
285 … float y = (x < 0.0f ? x * negative_slope() : x) / output_scale() + float(output_zero_point()); in TestQS8()
299 negative_slope(), in TestQS8()
326 … << ", negative input-to-output ratio " << (input_scale() / output_scale() * negative_slope()); in TestQS8()
354 … float y = (x < 0.0f ? x * negative_slope() : x) / output_scale() + float(output_zero_point()); in TestQU8()
368 negative_slope(), in TestQU8()
395 … << ", negative input-to-output ratio " << (input_scale() / output_scale() * negative_slope()); in TestQU8()