code: def test4DFloatTypes(self):
      for t in [
          np.float16,
          np.float32,
          np.float64,
          dtypes.bfloat16.as_numpy_dtype,
      ]:
          self._testAll(
              np.random.rand(4, 3, 2, 3).astype(t),
              np.random.rand(3).astype(t),
          )
          self._testAll(
              np.random.rand(2048, 4, 4, 4).astype(t),
              np.random.rand(4).astype(t),
          )
          self._testAll(
              np.random.rand(4, 4, 4, 2048).astype(t),
              np.random.rand(2048).astype(t),
          )
  
imports: import numpy
  from tensorflow.python.eager import backprop
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradient_checker
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_ops
  import tensorflow.python.ops.nn_grad
  from tensorflow.python.platform import test
label_desc: Use image node_id 15 for calling the BiasAddTestBase obj's underlying member method code with example usage: obj.test4DFloatTypes() without return types