-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[TARGET] ONNX codegen #5052
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[TARGET] ONNX codegen #5052
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
b6e6cf7
Relay to ONNX converter
maheshambule 8319b76
Relay to ONNX op test cases
maheshambule 72f6b2b
Relay to ONNX end to end model test cases
maheshambule 1fda66a
Add test cases to jenkins
maheshambule 52b9bd1
CI CD fixes
maheshambule 0730fb0
ONNX codegen
maheshambule 820d9f0
ONNX codegen
maheshambule 1c03528
ONNX codegen
maheshambule 26d1d87
onnx testcases
maheshambule 7849ec6
ONNX codegen
maheshambule 44d417e
test onnx
maheshambule 406807f
ONNX codegen
maheshambule ae6b7d1
shape calculation
maheshambule 0370f41
move onnx codegen to contrib/target
maheshambule 427815a
review comments
maheshambule f595547
ONNX target use visitor
maheshambule 6daf93f
onnx fixes
maheshambule 00060d6
lint fixes
maheshambule 1dd1c8b
doc string changes
maheshambule 2432a31
Merge branch 'master' of https://github.com/apache/incubator-tvm into…
maheshambule ec9a395
review comments
maheshambule f37b551
review comment fixes
maheshambule 5903439
merge master
maheshambule e76fb51
review comment
maheshambule 89acc7d
pytest skip
maheshambule 8d1df2c
rename type to node type
maheshambule 8d6ed20
Merge branch 'master' of https://github.com/apache/incubator-tvm into…
maheshambule 43a4787
Merge branch 'master' of https://github.com/apache/incubator-tvm into…
maheshambule 2c01126
test
maheshambule 4012c7a
Merge branch 'relay_to_onnx1' of https://github.com/maheshambule/tvm …
maheshambule 840cf7e
Fix for constantshpae, add exp, fix for metadatamodule
maheshambule 535e5d7
Merge branch 'master' into relay_to_onnx
maheshambule 028e0cf
Fix cpplint
maheshambule 04b038e
change error tol values
maheshambule File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Licensed to the Apache Software Foundation (ASF) under one | ||
| # or more contributor license agreements. See the NOTICE file | ||
| # distributed with this work for additional information | ||
| # regarding copyright ownership. The ASF licenses this file | ||
| # to you under the Apache License, Version 2.0 (the | ||
| # "License"); you may not use this file except in compliance | ||
| # with the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, | ||
| # software distributed under the License is distributed on an | ||
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| # KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| if(USE_TARGET_ONNX) | ||
| message(STATUS "Build with contrib.codegen_onnx") | ||
| file(GLOB ONNX_CONTRIB_SRC src/runtime/contrib/onnx/onnx_module.cc) | ||
| list(APPEND RUNTIME_SRCS ${ONNX_CONTRIB_SRC}) | ||
| endif(USE_TARGET_ONNX) |
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.