keras/src/trainers/data_adapters/array_slicing.py/TensorflowSparseSliceable/convert_to_torch_compatible
class TensorflowSparseSliceable:    def convert_to_torch_compatible(cls, x):
        from keras.src.backend.tensorflow import sparse as tf_sparse

        return tf_sparse.sparse_to_dense(x)