keras/src/trainers/data_adapters/array_slicing.py/TensorflowRaggedSliceable/convert_to_torch_compatible
class TensorflowRaggedSliceable:    def convert_to_torch_compatible(cls, x):
        return x.to_tensor()