class_docstr: Test cases for binary operators.
code: def testLogicalOps(self):
      self._testBinary(
          math_ops.logical_and,
          np.array([[True, False], [False, True]], dtype=np.bool_),
          np.array([[False, True], [False, True]], dtype=np.bool_),
          expected=np.array(
              [[False, False], [False, True]], dtype=np.bool_
          ),
      )
  
      self._testBinary(
          math_ops.logical_or,
          np.array([[True, False], [False, True]], dtype=np.bool_),
          np.array([[False, True], [False, True]], dtype=np.bool_),
          expected=np.array(
              [[True, True], [False, True]], dtype=np.bool_
          ),
      )
  
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 19 for calling the BinaryOpsTest obj's underlying member method code with example usage: obj.testLogicalOps() without return types