docstr: Test that the save_torchscript function works as expected with trace
docstr_tok: ["Test","that","the","save_torchscript","function","works","as","expected","with","trace"]
code: def test_torchscripting_using_trace(self):
      """
      Test that the save_torchscript function works as expected with trace
      """
      config = get_test_task_config()
      torchscript_folder = self.base_dir + "/torchscript_end_test/"
  
      # create a torchscript hook using trace
      torchscript_hook = TorchscriptHook(torchscript_folder)
      self.execute_hook(config, torchscript_folder, torchscript_hook)
  
file_path: ClassyVision/test/hooks_torchscript_hook_test.py
imports: import copy
  import os
  import shutil
  import tempfile
  import torch
  from classy_vision.hooks import TorchscriptHook
  from classy_vision.models import ResNet
  from classy_vision.tasks import build_task
  from test.generic.config_utils import get_test_task_config
  from test.generic.hook_test_utils import HookTestBase
label_desc: Use image node_id 5 for calling the TestTorchscriptHook obj's underlying member method code with example usage: obj.test_torchscripting_using_trace() without return types