code: def test_symbol():
      status = [False]
  
      def f():
          a = mx.sym.var("a")
          b = mx.sym.var("b")
          a_ = mx.nd.ones((2, 2))
          c_ = a_.copy()
          func1 = (a + b)._bind(mx.cpu(), args={"a": a_, "b": c_})
          func1.forward()[0].wait_to_read()
          status[0] = True
  
      thread = threading.Thread(target=f)
      thread.start()
      thread.join()
      assert status[
          0
      ], "Failed to execute a symbolic graph within a thread"
  
file_path: mxnet/tests/python/unittest/test_thread_local.py
imports: import threading
  import numpy
  import mxnet
  from mxnet import device, attribute
  from mxnet.device import Device
  from mxnet.attribute import AttrScope
  from mxnet.test_utils import assert_almost_equal, set_default_device
  from mxnet.util import _NumpyArrayScope, set_np_shape
label_desc: Use image node_id 6 for calling a global function with example usage: test_symbol() without return types