class_docstr: Test cases for binary operators.
code: def testBroadcastArgs(self):
      self._testBinary(
          array_ops.broadcast_dynamic_shape,
          np.array([2, 3, 5], dtype=np.int32),
          np.array([1], dtype=np.int32),
          expected=np.array([2, 3, 5], dtype=np.int32),
      )
  
      self._testBinary(
          array_ops.broadcast_dynamic_shape,
          np.array([1], dtype=np.int32),
          np.array([2, 3, 5], dtype=np.int32),
          expected=np.array([2, 3, 5], dtype=np.int32),
      )
  
      self._testBinary(
          array_ops.broadcast_dynamic_shape,
          np.array([2, 3, 5], dtype=np.int32),
          np.array([5], dtype=np.int32),
          expected=np.array([2, 3, 5], dtype=np.int32),
      )
  
      self._testBinary(
          array_ops.broadcast_dynamic_shape,
          np.array([5], dtype=np.int32),
          np.array([2, 3, 5], dtype=np.int32),
          expected=np.array([2, 3, 5], dtype=np.int32),
      )
  
      self._testBinary(
          array_ops.broadcast_dynamic_shape,
          np.array([2, 3, 5], dtype=np.int32),
          np.array([3, 5], dtype=np.int32),
          expected=np.array([2, 3, 5], dtype=np.int32),
      )
  
      self._testBinary(
          array_ops.broadcast_dynamic_shape,
          np.array([3, 5], dtype=np.int32),
          np.array([2, 3, 5], dtype=np.int32),
          expected=np.array([2, 3, 5], dtype=np.int32),
      )
  
      self._testBinary(
          array_ops.broadcast_dynamic_shape,
          np.array([2, 3, 5], dtype=np.int32),
          np.array([3, 1], dtype=np.int32),
          expected=np.array([2, 3, 5], dtype=np.int32),
      )
  
      self._testBinary(
          array_ops.broadcast_dynamic_shape,
          np.array([3, 1], dtype=np.int32),
          np.array([2, 3, 5], dtype=np.int32),
          expected=np.array([2, 3, 5], dtype=np.int32),
      )
  
      self._testBinary(
          array_ops.broadcast_dynamic_shape,
          np.array([2, 1, 5], dtype=np.int32),
          np.array([3, 1], dtype=np.int32),
          expected=np.array([2, 3, 5], dtype=np.int32),
      )
  
      self._testBinary(
          array_ops.broadcast_dynamic_shape,
          np.array([3, 1], dtype=np.int32),
          np.array([2, 1, 5], dtype=np.int32),
          expected=np.array([2, 3, 5], dtype=np.int32),
      )
  
      self._testBinary(
          array_ops.broadcast_dynamic_shape,
          np.array([2, 3, 5], dtype=np.int64),
          np.array([1], dtype=np.int64),
          expected=np.array([2, 3, 5], dtype=np.int64),
      )
  
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 42 for calling the BinaryOpsTest obj's underlying member method code with example usage: obj.testBroadcastArgs() without return types