code: def from_module(cls, module):
      nx, nf = module.weight.size()
      qmodule = cls(nf, nx)
      with torch.no_grad():
          qmodule.weight.copy_(module.weight)
          qmodule.bias.copy_(module.bias)
      return qmodule.to(module.weight.device)
  
file_path: quanto/test/nn/test_custom_qmodule.py
imports: import os
  from tempfile import TemporaryDirectory
  import pytest
  import torch
  from helpers import q_assert_close, random_qtensor
  from quanto import Calibration, QModuleMixin, QTensor, freeze, register_qmodule
label_desc: Use image node_id 1 for calling the QConv1D obj's underlying member method code with example usage: obj.from_module(cls, module) and returns: qmodule