code: def test_bf16_elemwiseadd():
      dshape = rand_shape_nd(4)
  
      a_sym_fp32 = mx.sym.Variable("data")
      b_sym_fp32 = mx.sym.Variable("data_1")
      sym_fp32 = mx.sym.elemwise_add(a_sym_fp32, b_sym_fp32)
  
      a_sym_bf16 = mx.sym.Variable("data", dtype="bfloat16")
      b_sym_bf16 = mx.sym.Variable("data_1", dtype="bfloat16")
      sym_bf16 = mx.sym.elemwise_add(a_sym_bf16, b_sym_bf16)
  
      dshapes = {"data": dshape, "data_1": dshape}
      check_operator_accuracy(
          sym_fp32,
          sym_bf16,
          dshapes,
          num_input_data=2,
          bf16_use_fp32_params=True,
      )
  
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 7 for calling a global function with example usage: test_bf16_elemwiseadd() without return types