code: def create_file_value(output_var, blob_writer):
      offset = _get_offset_by_writing_data(output_var, blob_writer)
  
      return create_file_value_tensor(
          file_name=os.path.join(
              os.path.join("@model_path", _WEIGHTS_DIR_NAME),
              _WEIGHTS_FILE_NAME,
          ),
          offset=offset,
          dim=output_var.val.shape,
          data_type=types_to_proto_primitive(
              output_var.sym_type.get_primitive()
          ),
      )
  
imports: import os
  import numpy
  import coremltools.proto.FeatureTypes_pb2
  import coremltools.proto.MIL_pb2
  from coremltools.converters.mil.mil import types
  from coremltools.converters.mil.mil.types import BUILTIN_TO_PROTO_TYPES, builtin_to_string, numpy_type_to_builtin_type, type_to_builtin_type
  from coremltools.converters.mil.mil.types.type_mapping import np_val_to_py_type
  from coremltools.models.utils import _WEIGHTS_DIR_NAME, _WEIGHTS_FILE_NAME
label_desc: Use image node_id 18 for calling a global function with example usage: create_file_value(output_var, blob_writer) and returns: create_file_value_tensor