remove optimizer related codes#3288
Conversation
Signed-off-by: daquexian <daquexian566@gmail.com>
|
This pull request fixes 1 alert when merging 9a2921e into fde37df - view on LGTM.com fixed alerts:
|
| from onnx import ModelProto, NodeProto, TensorProto, ValueInfoProto | ||
|
|
||
|
|
||
| def polish_model(model): # type: (ModelProto) -> ModelProto |
There was a problem hiding this comment.
you can keep this method just remove optimize and the checker call after optimize...
There was a problem hiding this comment.
If so this method will only run strip_doc_string and shape_inference. It makes this method not so useful. What's your opinion? Thanks!
jcwchen
left a comment
There was a problem hiding this comment.
LGTM. Thank you for the transfer!
|
This pull request fixes 1 alert when merging 73601f2 into 722f5a4 - view on LGTM.com fixed alerts:
|
linkerzhang
left a comment
There was a problem hiding this comment.
Thank you very much! Jianhao.
@houseroad please double check this change. The optimizer now is moved to a separate repo under onnx org.
|
This pull request fixes 1 alert when merging 91a10c6 into 1cbd549 - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging ba4ce9e into 184aec5 - view on LGTM.com fixed alerts:
|
|
This pull request fixes 1 alert when merging 02f1fb2 into 4f8ebec - view on LGTM.com fixed alerts:
|
ONNX: removed optimizer and polish, onnx/onnx#3288
Remove optimizer-related codes including
onnx.optimizer,onnx.utils.polish_model, their docs and jupyter notebooks