code: def testRaggedSize(self, test_input, size, ragged_rank=None):
      input_rt = ragged_factory_ops.constant(
          test_input, ragged_rank=ragged_rank
      )
      self.assertAllEqual(ragged_array_ops.size(input_rt), size)
  
file_path: tensorflow-upstream/tensorflow/python/ops/ragged/ragged_size_op_test.py
imports: from absl.testing import parameterized
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops.ragged import ragged_array_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 1 for calling the RaggedSizeOpTest obj's underlying member method code with example usage: obj.testRaggedSize(test_input, size, ragged_rank) without return types