code: def __init__(self, values, row_partition, internal=False, data=None):
      if not internal:
          raise ivy.utils.exceptions.IvyException(
              "RaggedTensor constructor is private; please use one of the "
              "factory methods instead "
              "(e.g., RaggedTensor.from_row_lengths())"
          )
      self._values = values
      self.data = data
      self._row_partition = row_partition
  
file_path: ivy/ivy/functional/frontends/tensorflow/ragged/ragged.py
imports: import ivy
label_desc: Use image node_id 1 to create a new RaggedTensor object  with example: obj = RaggedTensor(values, row_partition, internal, data)