class_docstr: Test cases for binary operators.
code: def testBroadcastTo(self):
      for dtype in self.all_types:
          x = np.random.randint(0, high=100, size=[2, 3])
          self._testBinary(
              array_ops.broadcast_to,
              x,
              np.array([2, 3], dtype=np.int32),
              expected=x,
          )
          self._testBinary(
              array_ops.broadcast_to,
              np.zeros([2, 3], dtype=dtype),
              np.array([2, 2, 3], dtype=np.int32),
              expected=np.zeros([2, 2, 3], dtype=dtype),
          )
  
          x = np.arange(2).reshape((2, 1)).astype(dtype)
          self._testBinary(
              array_ops.broadcast_to,
              x,
              np.array([2, 2, 3], dtype=np.int32),
              expected=np.tile(x, (2, 1, 3)),
          )
  
          x = np.arange(3).reshape((3, 1, 1, 1)).astype(dtype)
          self._testBinary(
              array_ops.broadcast_to,
              x,
              np.array((3, 7, 8, 9), dtype=np.int32),
              expected=np.tile(x, (1, 7, 8, 9)),
          )
  
imports: import itertools
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import bitwise_ops
  from tensorflow.python.ops import gen_array_ops
  from tensorflow.python.ops import gen_math_ops
  from tensorflow.python.ops import gen_nn_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.platform import googletest
  from tensorflow.python.platform import test
label_desc: Use image node_id 44 for calling the BinaryOpsTest obj's underlying member method code with example usage: obj.testBroadcastTo() without return types