code: def testGatherNdRefVariable(self):
      with self.cached_session():
          v = ref_variable.RefVariable(
              constant_op.constant([[1, 2], [3, 4], [5, 6]])
          )
          self.evaluate(variables.global_variables_initializer())
          gather = array_ops.gather_nd(v, [[0, 1], [2, 0]])
          if (
              not context.executing_eagerly()
          ):  # .op doesn't make sense in Eager
              self.assertEqual("GatherNd", gather.op.name)
          self.assertAllEqual([2, 5], gather)
  
imports: import time
  import numpy
  from tensorflow.python.client import session
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import indexed_slices
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_shape
  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 ref_variable
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
label_desc: Use image node_id 24 for calling the GatherNdTest obj's underlying member method code with example usage: obj.testGatherNdRefVariable() without return types