class_docstr: HardSwish activiation layer.
  
  Applies the hardswish function, element-wise.
  Described in: https://arxiv.org/abs/1905.02244.
  
  Args:
      inplace(`Bool`):
          whether use inplace version.
  Returns:
      (`torch.Tensor`)
          output tensor after activation.
code: def __init__(self, inplace: bool = False) -> None:
      super().__init__()
      self.inplace = inplace
  
imports: import torch
  from torch import nn
  from torch.nn import functional
label_desc: Use image node_id 1 to create a new HardSwish object from inherited base classes: nn with example: obj = HardSwish(inplace)