classmethod from_float(mod)
  Create a quantized embedding module from a float module

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