keras/src/models/sequential.py/Sequential/input_shape
class Sequential:    def input_shape(self):
        if self._functional:
            return self._functional.input_shape
        raise ValueError(
            f"Sequential model '{self.name}' has no defined input shape yet."
        )