code: def test_SqueezeformerModel_export_to_onnx(self, squeezeformer_model):
      model = squeezeformer_model.cuda()
      with tempfile.TemporaryDirectory() as tmpdir, torch.cuda.amp.autocast():
          filename = os.path.join(tmpdir, "squeeze.ts")
          device = next(model.parameters()).device
          input_example = torch.randn(
              4, model.encoder._feat_in, 777, device=device
          )
          input_example_length = torch.full(
              size=(input_example.shape[0],),
              fill_value=777,
              device=device,
          )
          model.export(
              output=filename,
              input_example=tuple(
                  [input_example, input_example_length]
              ),
              check_trace=True,
          )
  
imports: import os
  import tempfile
  import onnx
  import pytest
  import torch.cuda
  from omegaconf import DictConfig, ListConfig, OmegaConf
  from nemo.collections.asr.models import EncDecClassificationModel, EncDecCTCModel, EncDecRNNTModel, EncDecSpeakerLabelModel
  from nemo.collections.asr.parts.utils import asr_module_utils
  from nemo.collections.common.parts.adapter_modules import LinearAdapterConfig
  from nemo.core.utils import numba_utils
  from nemo.core.utils.numba_utils import __NUMBA_MINIMUM_VERSION__
label_desc: Use image node_id 6 for calling the TestExportable obj's underlying member method code with example usage: obj.test_SqueezeformerModel_export_to_onnx(squeezeformer_model) without return types