code: def _runGather(self, params, indices):
      with self.session():
          paramsp = array_ops.placeholder(params.dtype)
          indicesp = array_ops.placeholder(indices.dtype)
          with self.test_scope():
              gather_nd_t = array_ops.gather_nd(paramsp, indicesp)
          feed_dict = {paramsp: params, indicesp: indices}
          return gather_nd_t.eval(feed_dict=feed_dict)
  
file_path: tensorflow/tensorflow/compiler/tests/gather_nd_op_test.py
imports: import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import errors
  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 1 for calling the GatherNdTest obj's underlying member method code with example usage: obj._runGather(params, indices) and returns: gather_nd_t