code: def testBroadcastToBasic(self):
      for dtype in [
          np.uint8,
          np.uint16,
          np.int8,
          np.int16,
          np.int32,
          np.int64,
          np.float16,
          np.float32,
          np.float64,
          dtypes.bfloat16.as_numpy_dtype,
          dtypes.float8_e5m2.as_numpy_dtype,
          dtypes.float8_e4m3fn.as_numpy_dtype,
      ]:
          with self.session():
              x = np.array([1, 2, 3], dtype=dtype)
              v_tf = array_ops.broadcast_to(
                  constant_op.constant(x), [3, 3]
              )
              v_np = np.broadcast_to(x, [3, 3])
              self.assertAllEqual(v_tf, v_np)
  
imports: import numpy
  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
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the BroadcastToTest obj's underlying member method code with example usage: obj.testBroadcastToBasic() without return types