leaky_relu_(input: Tensor, negative_slope: float = 0.01, inplace: bool = True)In-place Leaky ReLU — overwrites input with the leaky-rectified result.
Parameters
inputTensorInput; modified in place.
negative_ slopefloat= 0.01Slope applied to the negative side. Default
0.01.inplacebool= TrueFalse returns leaky_relu's fresh result instead.
Default True.Returns
TensorThe same input tensor, now holding leaky_relu(input, negative_slope).