code: def testFailWithoutExplicitNum(self):
      size_splits = array_ops.placeholder(
          dtype=dtypes.int32, shape=[None]
      )
  
      value = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
  
      with self.session() as sess:
          with self.assertRaises(ValueError) as context:
              sess.run(
                  array_ops.split(value, size_splits),
                  {size_splits: [2, 2, 6]},
              )
          self.assertIn(
              "Cannot infer argument `num` from shape",
              str(context.exception),
          )
  
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 3 for calling the SplitOpTest obj's underlying member method code with example usage: obj.testFailWithoutExplicitNum() without return types