class_docstr: Test cases for binary operators.
code: def testSplit(self):
      for dtype in self.numeric_types:
          for axis in [0, -3]:
              self._testBinary(
                  lambda x, y: array_ops.split(
                      value=y, num_or_size_splits=3, axis=x
                  ),
                  np.int32(axis),
                  np.array(
                      [[[1], [2]], [[3], [4]], [[5], [6]]], dtype=dtype
                  ),
                  expected=[
                      np.array([[[1], [2]]], dtype=dtype),
                      np.array([[[3], [4]]], dtype=dtype),
                      np.array([[[5], [6]]], dtype=dtype),
                  ],
                  equality_test=self.ListsAreClose,
              )
  
          for axis in [1, -2]:
              self._testBinary(
                  lambda x, y: array_ops.split(
                      value=y, num_or_size_splits=2, axis=x
                  ),
                  np.int32(axis),
                  np.array(
                      [[[1], [2]], [[3], [4]], [[5], [6]]], dtype=dtype
                  ),
                  expected=[
                      np.array([[[1]], [[3]], [[5]]], dtype=dtype),
                      np.array([[[2]], [[4]], [[6]]], dtype=dtype),
                  ],
                  equality_test=self.ListsAreClose,
              )
  
          def splitvOp(x, y):  # pylint: disable=invalid-name
              return array_ops.split(
                  value=y, num_or_size_splits=[2, 3], axis=x
              )
  
          for axis in [1, -1]:
              self._testBinary(
                  splitvOp,
                  np.int32(axis),
                  np.array(
                      [[0, 1, 2, 3, 4], [5, 6, 7, 8, 9]], dtype=dtype
                  ),
                  expected=[
                      np.array([[0, 1], [5, 6]], dtype=dtype),
                      np.array([[2, 3, 4], [7, 8, 9]], dtype=dtype),
                  ],
                  equality_test=self.ListsAreClose,
              )
  
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 37 for calling the BinaryOpsTest obj's underlying member method code with example usage: obj.testSplit() and returns: array_ops