-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exposing `add_node` as a public method creates a hazard as it allows callers to add nodes to the graph without post-processing steps that other methods do (eg. `add_op`). Make this method private again and add a more specific `add_constant_node` alternative to handle the single use case for it outside the graph module.
- Loading branch information
1 parent
1df8de4
commit 04559ca
Showing
2 changed files
with
25 additions
and
13 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