-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* introduced ExternalDataReader Signed-off-by: Soren Lassen <[email protected]> * read external_data Signed-off-by: Soren Lassen <[email protected]> * simplified conversion from RepeatedField to SmallVector Signed-off-by: Soren Lassen <[email protected]> * skip copy to SmallVector unless needed Signed-off-by: Soren Lassen <[email protected]> * fix ArrayRef size Signed-off-by: Soren Lassen <[email protected]> * fix string type Signed-off-by: Soren Lassen <[email protected]> * remove ExternalDataReader benchmarking showed that there was no benefit to caching opened memory buffers Signed-off-by: Soren Lassen <[email protected]> * support parsing uint onnx tensors Signed-off-by: Soren Lassen <[email protected]> * add --load_external_data option to onnx2json.py Signed-off-by: Soren Lassen <[email protected]> * onnxExternalizeData.py tool for constructing external data examples for testing Signed-off-by: Soren Lassen <[email protected]> * added zipmap.py script that generates zipmap.json parse lit test Signed-off-by: Soren Lassen <[email protected]> * added parse lit tests for raw/external/nonraw data Signed-off-by: Soren Lassen <[email protected]> * added comments in utils/testing to explain the models Signed-off-by: Soren Lassen <[email protected]> * simplify implementation Signed-off-by: Soren Lassen <[email protected]> * remove one more copy Signed-off-by: Soren Lassen <[email protected]> * remove yet another copy Signed-off-by: Soren Lassen <[email protected]> * fix little-endian logic Signed-off-by: Soren Lassen <[email protected]> * small refactor to prepare for future float16 support Signed-off-by: Soren Lassen <[email protected]> Signed-off-by: Soren Lassen <[email protected]> Co-authored-by: Philip Lassen <[email protected]>
- Loading branch information
1 parent
8f0fff3
commit 6d68373
Showing
14 changed files
with
1,812 additions
and
218 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
Oops, something went wrong.