class_docstr: This is the quantized version of :class:`~torch.nn.Hardswish`.
  
  Args:
      scale: quantization scale of the output tensor
      zero_point: quantization zero point of the output tensor
class_docstr_tok: ["This","is","the","quantized","version","of",":","class",":","`","~torch.nn.Hardswish","`",".","Args",":","scale",":","quantization","scale","of","the","output","tensor","zero_point",":","quantization","zero","point","of","the","output","tensor"]
code: def __init__(self, scale, zero_point, device=None, dtype=None):
      factory_kwargs = {"device": device, "dtype": dtype}
      super().__init__()
      self.register_buffer(
          "scale", torch.tensor(scale, **factory_kwargs)
      )
      self.register_buffer(
          "zero_point", torch.tensor(zero_point, **factory_kwargs)
      )
  
imports: import torch
  from warnings import warn
label_desc: Use image node_id 1 to create a new Hardswish object from inherited base classes: torch.nn with example: obj = Hardswish(scale, zero_point, device, dtype)