class_docstr: This is the quantized equivalent of :class:`~torch.nn.Sigmoid`.
  
  Args:
      scale: quantization scale of the output tensor
      zero_point: quantization zero point of the output tensor
class_docstr_tok: ["This","is","the","quantized","equivalent","of",":","class",":","`","~torch.nn.Sigmoid","`",".","Args",":","scale",":","quantization","scale","of","the","output","tensor","zero_point",":","quantization","zero","point","of","the","output","tensor"]
code: def from_float(cls, mod):
      (
          output_scale,
          output_zero_point,
      ) = mod.activation_post_process.calculate_qparams()
      return cls(float(output_scale), int(output_zero_point))
  
imports: import torch
  from warnings import warn
label_desc: Use image node_id 3 for calling the Sigmoid obj's underlying member method code with example usage: obj.from_float(cls, mod) and returns: cls