class_docstr: Hard Mish
  Experimental, based on notes by Mish author Diganta Misra at
    https://github.com/digantamisra98/H-Mish/blob/0da20d4bc58e696b6803f2523c58d3c8a82782d0/README.md
  Args:
      inplace(`Bool`):
          whether use inplace version.
  Returns:
      (`torch.Tensor`)
          output tensor after activation.
class_docstr_tok: ["Hard","Mish","Experimental",",","based","on","notes","by","Mish","author","Diganta","Misra","at","https",":","\/\/github.com\/digantamisra98\/H-Mish\/blob\/0da20d4bc58e696b6803f2523c58d3c8a82782d0\/README.md","Args",":","inplace","(","`","Bool","`",")",":","whether","use","inplace","version",".","Returns",":","(","`","torch.Tensor","`",")","output","tensor","after","activation","."]
code: def __init__(self, inplace: bool = False):
      super().__init__()
      self.inplace = inplace
  
imports: from torch import nn
label_desc: Use image node_id 1 to create a new HardMish object from inherited base classes: nn with example: obj = HardMish(inplace)