code: def testNonexistentDimTensor(self):
      x = array_ops.placeholder(dtypes.int32)
      values = np.zeros([5, 30])
      splits = array_ops.placeholder(dtypes.int32)
      with self.assertRaisesRegex(ValueError, "Cannot infer"):
          y = array_ops.split(values, splits, axis=x)
  
      splits = array_ops.placeholder(dtypes.int32, [3])
      y = array_ops.split(values, splits, axis=x)
      with self.session() as sess:
          with self.assertRaisesRegex(
              errors_impl.InvalidArgumentError,
              "must have exactly one element",
          ):
              sess.run(
                  y,
                  {
                      x: np.array([], dtype=np.int32),
                      splits: [4, 11, 15],
                  },
              )
  
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 26 for calling the SplitOpTest obj's underlying member method code with example usage: obj.testNonexistentDimTensor() without return types