code: def scriptAndSave(module, fileName):
      print("-" * 80)
      script_module = torch.jit.script(module)
      print(script_module.graph)
      outputFileName = OUTPUT_DIR + fileName
      # note that the lite interpreter model can also be used in full JIT
      script_module._save_for_lite_interpreter(outputFileName)
      print("Saved to " + outputFileName)
      print("=" * 80)
  
imports: from typing import Dict, List, Optional, Tuple
  import torch
  from torch import Tensor
label_desc: Use image node_id 1 for calling a global function with example usage: scriptAndSave(module, fileName) without return types