leaky_relu_(x: Tensor, negative_slope: float = 0.01, inplace: bool = True)In-place Leaky ReLU — overwrites x with the leaky-rectified result.
Parameters
Input; modified in place.
negative_slopefloat= 0.01Slope applied to the negative side. Default
0.01.inplacebool= TrueIgnored. Default
True.Returns
TensorThe same x tensor, now holding leaky_relu(x, negative_slope).