-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NNotepad] Fix serialization of non-tensor arrays (#264)
Most MLGraphBuilder method arguments are operands, but sometimes they're arrays or numbers. There was a mechanism in place to determine (via a table) whether a given method's argument was an operator or not, but that wasn't enough to distinguish an array of numbers (like reshape() needs) from an array of operands (which concat() needs). Rework the lookup from returning a boolean to returning an argument type, and adjust serialization appropriately. Fixes #263
- Loading branch information
1 parent
707577f
commit 458decc
Showing
2 changed files
with
54 additions
and
24 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