code: def collect_block_args_aux(block, sym):
      arg_params, aux_params = dict(), dict()
      for k, v in block.collect_params().items():
          if k in sym.list_arguments():
              arg_params[k] = v._reduce()
          elif k in sym.list_auxiliary_states():
              aux_params[k] = v._reduce()
      return arg_params, aux_params
  
imports: import os
  import mxnet
  import numpy
  from mxnet import npx
  from mxnet.util import use_np
  from mxnet.gluon.model_zoo import vision
  from mxnet.test_utils import assert_almost_equal, assert_exception, rand_ndarray, rand_shape_nd, same, DummyIter
  from common import xfail_when_nonstandard_decimal_separator
  from mxnet.io import NDArrayIter
  import unittest
  import operator
label_desc: Use image node_id 1 for calling a global function with example usage: collect_block_args_aux(block, sym) and returns: arg_params,  aux_params