


quantize input to quint8
  >>> q_input = torch.quantize_per_tensor(input, scale=1.0, zero_point=0,
  ...                                     dtype=torch.quint8)
  >>> output = m(q_input)




classmethod from_float(mod)
  Creates a quantized module from a float module or qparams_dict.

  Parameters:
     **mod** (*Module*) -- a float module, either produced by
     torch.ao.quantization utilities or provided by the user
