code: def test_RadTTSModel_export_to_onnx(self, radtts_model):
      model = radtts_model.cuda()
      with tempfile.TemporaryDirectory() as tmpdir:
          filename = os.path.join(tmpdir, "rad.onnx")
          with torch.cuda.amp.autocast(
              enabled=True, cache_enabled=False, dtype=torch.float16
          ):
              input_example1 = model.input_module.input_example(
                  max_batch=13, max_dim=777
              )
              input_example2 = model.input_module.input_example(
                  max_batch=19, max_dim=999
              )
              model.export(
                  output=filename,
                  input_example=input_example1,
                  verbose=True,
                  onnx_opset_version=14,
                  check_trace=[input_example2],
              )
  
file_path: NeMo/tests/collections/tts/test_tts_exportables.py
imports: import os
  import tempfile
  import pytest
  import torch
  from omegaconf import OmegaConf
  from nemo.collections.tts.models import FastPitchModel, HifiGanModel, RadTTSModel
  from nemo.utils.app_state import AppState
label_desc: Use image node_id 4 for calling the TestExportable obj's underlying member method code with example usage: obj.test_RadTTSModel_export_to_onnx(radtts_model) without return types