You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to that the rebuild=True argument in add() is basically ignored entirely.
The only option here is to call build() explicitly after you added all the layers.
Am I missing something? Is this the intended behavior? If so, it would be great to expand documentation on that.
The text was updated successfully, but these errors were encountered:
If we check the code for
build
it has a failsafe for cases when the first layer of the model is not an Input layer:Here's the snippet from the source code
Yet the
_maybe_rebuild
's code ignores rebuilding entirely if input layer is missing:Due to that the
rebuild=True
argument inadd()
is basically ignored entirely.The only option here is to call
build()
explicitly after you added all the layers.Am I missing something? Is this the intended behavior? If so, it would be great to expand documentation on that.
The text was updated successfully, but these errors were encountered: