This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
Replies: 1 comment 4 replies
-
@liusy182 thanks for bringing this up. I agree this is an issue to be solved. Between the two proposed approaches, I think having |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The API mxnet.gluon.SymbolBlock.export exports input names by following the convention below according to documentation:
The counterpart mxnet.gluon.SymbolBlock.imports requires the
input_names
to be specified as the second parameter.This is problematic for clients who use this set of APIs. E.g. a client who have previously exported the model may not know the format of
input_names
when it tries to do import later.I see there are 2 solutions for this problem:
mxnet.gluon.SymbolBlock.imports
being able to infer theinput_names
. (preferred)mxnet.gluon.SymbolBlock.export
return theinput_names
which can later be used by the import.Does gluon support any of the above functionality in anyways? If not, would it be a good idea to support this?
Beta Was this translation helpful? Give feedback.
All reactions