keras/src/ops/numpy.py/Slogdet/compute_output_spec
class Slogdet:    def compute_output_spec(self, x):
        sign = KerasTensor((), dtype=x.dtype)
        logabsdet = KerasTensor((), dtype=x.dtype)
        return (sign, logabsdet)