code: def test_fc_infer_type():
      mx_real_t = mx.base.mx_real_t
      data = mx.symbol.Variable("data")
      out = mx.symbol.FullyConnected(
          data=data, name="fc1", num_hidden=1000
      )
  
      # infer type
      data_type = mx_real_t
      arg_types, out_types, aux_types = out.infer_type(data=data_type)
      arg_type_dict = dict(zip(out.list_arguments(), arg_types))
      assert len(out_types) == 1
      assert out_types[0] == mx_real_t
      true_types = {"fc1_bias": mx_real_t, "fc1_weight": mx_real_t}
      for k, v in true_types.items():
          assert arg_type_dict[k] == v
  
file_path: mxnet/tests/python/unittest/test_infer_shape.py
imports: import mxnet
  from common import models
  import pytest
label_desc: Use image node_id 9 for calling a global function with example usage: test_fc_infer_type() without return types