code: def test_bf16_fc():
      data_sym_fp32 = mx.sym.Variable(name="data")
      data_sym_bf16 = mx.sym.Variable(name="data", dtype="bfloat16")
  
      fc_params = {
          "num_hidden": 10,
          "no_bias": True,
          "flatten": True,
          "name": "fc",
      }
      fc_fp32 = mx.sym.FullyConnected(data_sym_fp32, **fc_params)
      fc_bf16 = mx.sym.FullyConnected(data_sym_bf16, **fc_params)
      check_operator_accuracy(
          fc_fp32,
          fc_bf16,
          data_shape=(3, 3, 16, 16),
          bf16_use_fp32_params=False,
      )
  
      fc_params = {
          "num_hidden": 10,
          "no_bias": False,
          "flatten": False,
          "name": "fc",
      }
      fc_fp32 = mx.sym.FullyConnected(data_sym_fp32, **fc_params)
      fc_bf16 = mx.sym.FullyConnected(data_sym_bf16, **fc_params)
      check_operator_accuracy(
          fc_fp32,
          fc_bf16,
          data_shape=(3, 3, 16, 16),
          bf16_use_fp32_params=False,
      )
  
imports: import os
  import sys
  import mxnet
  import numpy
  from random import randint
  import itertools
  from mxnet.test_utils import assert_almost_equal_with_err, rand_shape_nd
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_bf16_fc() without return types