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

provide API for returning output from intermediate layers #1

Open
zhouyong64 opened this issue Aug 16, 2021 · 1 comment
Open

provide API for returning output from intermediate layers #1

zhouyong64 opened this issue Aug 16, 2021 · 1 comment

Comments

@zhouyong64
Copy link

It would be very helpful to have an API for returning output from intermediate layers, for example, the one before the final layers. This output can be used in other speech tasks other than speech recognition.

@daanzu
Copy link
Owner

daanzu commented Aug 16, 2021

Interesting idea. This would be a bit complicated, because I think we would need to build the torchscript model differently to allow for this, in addition to modifications to the library code. My plan was to keep this library fairly simple, but I am not entirely opposed to adding this. I may not get around to adding it myself, though. Leaving open.

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

No branches or pull requests

2 participants