code: def testRaggedGather(
      self,
      params,
      indices,
      expected,
      axis=None,
      batch_dims=0,
      params_ragged_rank=None,
      indices_ragged_rank=None,
  ):
      params = ragged_factory_ops.constant(
          params, ragged_rank=params_ragged_rank
      )
      indices = ragged_factory_ops.constant(
          indices, ragged_rank=indices_ragged_rank
      )
      actual = ragged_gather_ops.gather(
          params, indices, axis=axis, batch_dims=batch_dims
      )
      self.assertAllEqual(actual, self._str_to_bytes(expected))
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import indexed_slices
  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.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_gather_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling the RaggedGatherOpTest obj's underlying member method code with example usage: obj.testRaggedGather(params, indices, expected, axis, batch_dims, params_ragged_rank, indices_ragged_rank) without return types