class_docstr: Tests PyTorch and Tensorflow model imports
docstr: Tests loading of onnx model from a file
docstr_tok: ["Tests","loading","of","onnx","model","from","a","file"]
code: def test_export_pytorch_model(self):
      """Tests loading of onnx model from a file"""
      pytorch_model = PyTorchLinear()
      dummy_input = torch.empty(10, 10)
  
      with io.BytesIO() as f:
          onnx_converter._export_pytorch_model(
              f, pytorch_model, dummy_input
          )
  
imports: import collections
  import io
  import logging
  import os
  import unittest
  import crypten
  import torch
  from crypten.common.tensor_types import is_float_tensor
  from crypten.config import cfg
  from crypten.nn import onnx_converter
  from test.multiprocess_test_case import get_random_test_tensor, MultiProcessTestCase, onehot
label_desc: Use image node_id 10 for calling the TestOnnxConverter obj's underlying member method code with example usage: obj.test_export_pytorch_model() without return types