Skip to content
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

Underlying MXNet Model Extraction #85

Open
joeddav opened this issue Sep 21, 2017 · 0 comments · May be fixed by #90
Open

Underlying MXNet Model Extraction #85

joeddav opened this issue Sep 21, 2017 · 0 comments · May be fixed by #90

Comments

@joeddav
Copy link

joeddav commented Sep 21, 2017

It would be beneficial to have a way to extract the underlying MXNet module, similar to how a user can call K.get_session() with the TensorFlow backend. The global _MODEL object is unaccessible via API, so there's no way I can see to access the MXNet module.

In my own fork I have added the following to mxnet_backend.py:

def get_mxnet_module():
    return _MODEL._mod

Please let me know if there's a better way to do it. If not, I'd be happy to submit a PR with the above as I believe that feature would be useful to others as well.

joeddav added a commit to joeddav/keras that referenced this issue Oct 19, 2017
@joeddav joeddav linked a pull request Oct 19, 2017 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant