code: def get_network_filename(
      framework, temp_filename, output_model_filename
  ):
      if framework in ["pytorch"]:
          return os.path.join(
              os.path.dirname(output_model_filename),
              os.path.basename(output_model_filename).split(".")[0],
          )
      return temp_filename
  
file_path: MMdnn/mmdnn/conversion/_script/convert.py
imports: import sys
  import argparse
  import mmdnn.conversion._script.convertToIR
  import mmdnn.conversion._script.IRToCode
  import mmdnn.conversion._script.IRToModel
  from six import text_type
  import uuid
  import os
label_desc: Use image node_id 6 for calling a global function with example usage: get_network_filename(framework, temp_filename, output_model_filename) and returns: temp_filename, os