code: def testBroadcastToBadOutputShape(self):
      with context.eager_mode():
          with self.assertRaisesRegex(
              errors.InvalidArgumentError,
              "Unable to broadcast tensor of shape",
          ):
              self.evaluate(
                  array_ops.broadcast_to(
                      constant_op.constant([0, 1]),
                      constant_op.constant([2, 1]),
                  )
              )
  
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 11 for calling the BroadcastToTest obj's underlying member method code with example usage: obj.testBroadcastToBadOutputShape() without return types