code: def __init__(self, inplace: bool = False):
      super(HardSwish, self).__init__()
      self.inplace = inplace
  
imports: 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)