keras/src/backend/common/keras_tensor.py/KerasTensor/sparse
class KerasTensor:    def sparse(self, value):
        raise AttributeError(
            f"The sparse of {self.__class__.__name__} is immutable. One should "
            "create a new instance of KerasTensor for this."
        )