code: def get_symvar_value(mge_symvar):
      if mge_symvar.inferred_value is not None:
          val = mge_symvar.inferred_value
      else:
          cg = mge_symvar.owner_graph
          func = cg.compile_outonly(mge_symvar)
          val = func()
  
      return val
  
imports: import os
  import math
  import numpy
  import six
  import megengine._internal
  from enum import Enum
  from py_proto import mace_pb2
  from transform import base_converter
  from transform.base_converter import PoolingType
  from transform.base_converter import ActivationType
  from transform.base_converter import EltwiseType
  from transform.base_converter import FrameworkType
  from transform.base_converter import ReduceType
  from transform.base_converter import DataFormat
  from transform.base_converter import MaceOp
  from transform.base_converter import MaceKeyword
  from transform.base_converter import ConverterUtil
  from transform.base_converter import RoundMode
  from utils.util import mace_check
label_desc: Use image node_id 1 for calling a global function with example usage: get_symvar_value(mge_symvar) and returns: val