keras/src/backend/common/keras_tensor.py/KerasTensor/__repr__
class KerasTensor:    def __repr__(self):
        return (
            f"<KerasTensor shape={self.shape}, dtype={self.dtype}, "
            f"sparse={self.sparse}, name={self.name}>"
        )