class_docstr: Applies a leaky relu function. See `Rectifier Nonlinearities Improve Neural Network Acoustic Models`
  for more details.
class_docstr_tok: ["Applies","a","leaky","relu","function",".","See","`","Rectifier","Nonlinearities","Improve","Neural","Network","Acoustic","Models","`","for","more","details","."]
code: def __init__(
      self,
      negative_slope: Optional[float] = 1e-2,
      inplace: Optional[bool] = False,
      *args,
      **kwargs,
  ) -> None:
      super().__init__(negative_slope=negative_slope, inplace=inplace)
  
imports: from typing import Optional
  from torch import Tensor, nn
  from cvnets.layers.activation import register_act_fn
label_desc: Use image node_id 1 to create a new LeakyReLU object from inherited base classes: nn with example: obj = LeakyReLU(negative_slope, inplace)