code: def test_symbol_magic_abs():
      for dim in range(1, 7):
          with mx.name.NameManager():
              data = mx.symbol.Variable("data")
              method = data.abs(name="abs0")
              magic = abs(data)
              regular = mx.symbol.abs(data, name="abs0")
              ctx = {
                  "ctx": mx.context.current_context(),
                  "data": rand_shape_nd(dim),
              }
              mx.test_utils.check_consistency(
                  [method, magic], ctx_list=[ctx, ctx]
              )
              mx.test_utils.check_consistency(
                  [regular, magic], ctx_list=[ctx, ctx]
              )
  
imports: import copy
  import sys
  import os
  import logging
  import re
  import json
  import mxnet
  import numpy
  from common import assertRaises, models, TemporaryDirectory
  from mxnet.base import NotImplementedForSymbol
  from mxnet.test_utils import discard_stderr, rand_shape_nd, use_np, environment
  from mxnet.util import np_shape
  import pickle
label_desc: Use image node_id 11 for calling a global function with example usage: test_symbol_magic_abs() without return types