class_docstr: Applies the mish function element-wise:
  mish(x) = x * tanh(softplus(x)) = x * tanh(ln(1 + exp(x)))
  Shape:
      - Input: (N, *) where * means, any number of additional
        dimensions
      - Output: (N, *), same shape as the input
  Examples:
      >>> m = Mish()
      >>> input = torch.randn(2)
      >>> output = m(input)
  
  Credit: https://github.com/digantamisra98/Mish
class_docstr_tok: ["Applies","the","mish","function","element-wise",":","mish","(","x",")","=","x","*","tanh","(","softplus","(","x",")",")","=","x","*","tanh","(","ln","(","1","+","exp","(","x",")",")",")","Shape",":","-","Input",":","(","N",",","*",")","where","*","means",",","any","number","of","additional","dimensions","-","Output",":","(","N",",","*",")",",","same","shape","as","the","input","Examples",":",">",">",">","m","=","Mish","(",")",">",">",">","input","=","torch.randn","(","2",")",">",">",">","output","=","m","(","input",")","Credit",":","https",":","\/\/github.com\/digantamisra98\/Mish"]
docstr: Init method.
  :param inplace: Not used, exists only for compatibility
docstr_tok: ["Init","method",".",":","param","inplace",":","Not","used",",","exists","only","for","compatibility"]
code: def __init__(self, inplace=False):
      """
      Init method.
      :param inplace: Not used, exists only for compatibility
      """
      super().__init__()
  
imports: from collections import OrderedDict
  import torch
  from torch import nn
  from torch.nn import functional
  from .identity import Identity
label_desc: Use image node_id 1 to create a new Mish object from inherited base classes: nn with example: obj = Mish(inplace)