code: def to_sparse(rt_input, name=None):
      return rt_input.to_sparse(name)
  
file_path: tensorflow/tensorflow/python/ops/ragged/ragged_conversion_ops.py
imports: from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import indexed_slices
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_ragged_conversion_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.ragged import ragged_tensor
label_desc: Use image node_id 6 for calling a global function with example usage: to_sparse(rt_input, name) and returns: rt_input