class_docstr: A global variable in the IR.
  
  GlobalVar is used to refer to the global functions
  stored in the IRModule.
  
  Parameters
  ----------
  name_hint: str
      The name of the variable.
class_docstr_tok: ["A","global","variable","in","the","IR",".","GlobalVar","is","used","to","refer","to","the","global","functions","stored","in","the","IRModule",".","Parameters","--","--","--","--","--","name_hint",":","str","The","name","of","the","variable","."]
docstr: Call the global variable.
  
  Parameters
  ----------
  args: List[RelayExpr]
      The arguments to the call.
  
  Returns
  -------
  call: BaseExpr
      A call taking the variable as a function.
docstr_tok: ["Call","the","global","variable",".","Parameters","--","--","--","--","--","args",":","List","[","RelayExpr","]","The","arguments","to","the","call",".","Returns","--","--","--","-","call",":","BaseExpr","A","call","taking","the","variable","as","a","function","."]
code: def __call__(self, *args: RelayExpr) -> BaseExpr:
      """Call the global variable.
  
      Parameters
      ----------
      args: List[RelayExpr]
          The arguments to the call.
  
      Returns
      -------
      call: BaseExpr
          A call taking the variable as a function.
      """
      # pylint: disable=import-outside-toplevel
      if all(isinstance(x, RelayExpr) for x in args):
          from tvm import relay
  
          return relay.Call(self, args)
      elif all(isinstance(x, (Number, PrimExpr)) for x in args):
          return tvm.tir.call_tir(self, *args)
  
      arg_types = [type(x) for x in args]
      raise RuntimeError(
          f"Do not know how to handle GlobalVar.__call__ for types {arg_types}"
      )
  
imports: from numbers import Number
  from typing import Callable, Optional
  import tvm._ffi
  from ..runtime import Object, Scriptable, const, convert
  from .None import _ffi_api
  from .base import Node, Span
  from .type import Type
label_desc: Use image node_id 2 for calling the GlobalVar obj's underlying member method code with example usage: obj.__call__() and returns: relay, tvm