class_docstr: Implemented LipSwish activation, i.e. LipSwish(z) := Swish(z)/ 1.1 with a
  learnable parameter beta.
class_docstr_tok: ["Implemented","LipSwish","activation",",","i.e",".","LipSwish","(","z",")",":","=","Swish","(","z",")","\/","1.1","with","a","learnable","parameter","beta","."]
code: def __init__(
      self,
      beta_initializer: mx.init.Initializer = mx.init.Constant(1.0),
      **kwargs,
  ):
      super().__init__(**kwargs)
      with self.name_scope():
          self.beta = self.params.get(
              "beta", shape=(1,), init=beta_initializer
          )
  
file_path: gluonts/src/gluonts/mx/activation.py
imports: from functools import partial
  from typing import Callable
  import mxnet
  import mxnet.gluon.nn
  from gluonts.core.component import validated
  from gluonts.mx import Tensor
label_desc: Use image node_id 1 to create a new LipSwish object from inherited base classes: nn with example: obj = LipSwish(beta_initializer)