class_docstr: Applies the `Hard Sigmoid <https://arxiv.org/abs/1511.00363v3>`_ function
code: def __init__(
      self, inplace: Optional[bool] = False, *args, **kwargs
  ) -> None:
      super().__init__(inplace=inplace)
  
imports: from typing import Optional
  from torch import Tensor, nn
  from torch.nn import functional
  from cvnets.layers.activation import register_act_fn
label_desc: Use image node_id 1 to create a new Hardsigmoid object from inherited base classes: nn with example: obj = Hardsigmoid(inplace)