-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
Currently, the number of outputs of the Keras model is checked:
Lines 418 to 419 in 9f633f5
| if self.model_n_outputs_ != len(self.model_.outputs): | |
| raise RuntimeError( |
It'd be nice if the number of inputs could be checked too (and their shape/dtype). This should be possible according to the docs, which says a Keras Model has an .inputs attribute: https://keras.io/api/models/model/
adriangb
Metadata
Metadata
Assignees
Labels
No labels