code: def from_float(cls, float_linear_act, weight_qparams):
      linear = _reference.Linear.from_float(
          float_linear_act.linear, weight_qparams
      )
      return cls(linear, float_linear_act.act)
  
imports: from collections import OrderedDict
  from typing import Type
  import torch.ao.nn.quantized.reference
  import torch.nn
label_desc: Use image node_id 2 for calling the QuantizedLinearAct obj's underlying member method code with example usage: obj.from_float(cls, float_linear_act, weight_qparams) and returns: cls