code: def testUnknownIndices(self):
      # This test needs a placeholder which means we need to construct a graph.
      with ops.Graph().as_default():
          params = constant_op.constant([[0, 1, 2]])
          indices = array_ops.placeholder(
              dtypes.int32, shape=[None, None]
          )
          gather_t = array_ops.batch_gather(params, indices)
          self.assertEqual([1, None], gather_t.get_shape().as_list())
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/array_ops/batch_gather_op_test.py
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 6 for calling the GatherTest obj's underlying member method code with example usage: obj.testUnknownIndices() without return types