class_docstr: Applies the element-wise function:
  
  .. math::
      \text{Swish}(x) = x * \text{Sigmoid}(\alpha * x) ~~~~\text{for constant value}~ \alpha.
  
  Citation: Searching for Activation Functions, Ramachandran et al., 2017, https://arxiv.org/abs/1710.05941.
  
  
  Shape:
      - Input: :math:`(N, *)` where `*` means, any number of additional dimensions
      - Output: :math:`(N, *)`, same shape as the input
  
  
  Examples::
  
      >>> import torch
      >>> from monai.networks.layers.factories import Act
      >>> m = Act['swish']()
      >>> input = torch.randn(2)
      >>> output = m(input)
code: def __init__(self, alpha=1.0):
      super().__init__()
      self.alpha = alpha
  
imports: from __future__ import annotations
  import torch
  from torch import nn
  from monai.utils import optional_import
label_desc: Use image node_id 1 to create a new Swish object from inherited base classes: nn with example: obj = Swish(alpha)