Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change typechecks for pieces of tfgnn.keras.layers.GraphUpdate:
- Check isinstance(arg, tf.keras.layers.Layer) at runtime. - Type annotations refer to Protocols for the call() signature. NOTE: This is not checked yet, google/pytype#81. PiperOrigin-RevId: 405832960
- Loading branch information
Showing
3 changed files
with
128 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters