code: def testRaggedBatchGatherWithDefault(
      self,
      descr,
      params,
      indices,
      expected,
      indices_ragged_rank=None,
      expected_ragged_rank=None,
      ragged_rank=None,
      default_value="$NONE^",
  ):
      params = ragged_factory_ops.constant(
          params, ragged_rank=ragged_rank
      )
      indices = ragged_factory_ops.constant(
          indices, ragged_rank=indices_ragged_rank or ragged_rank
      )
      expected = ragged_factory_ops.constant(
          expected, ragged_rank=expected_ragged_rank or ragged_rank
      )
      result = (
          ragged_batch_gather_with_default_op.batch_gather_with_default(
              params, indices, default_value
          )
      )
      self.assertAllEqual(result, expected)
  
imports: from absl.testing import parameterized
  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 test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops.ragged import ragged_batch_gather_ops
  from tensorflow.python.ops.ragged import ragged_batch_gather_with_default_op
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 2 for calling the RaggedBatchGatherOpTest obj's underlying member method code with example usage: obj.testRaggedBatchGatherWithDefault(descr, params, indices, expected, indices_ragged_rank, expected_ragged_rank, ragged_rank, default_value) without return types