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

[Feature Request] Cleaner interface for intermediate layers #36

Open
j29scott opened this issue Nov 9, 2022 · 4 comments
Open

[Feature Request] Cleaner interface for intermediate layers #36

j29scott opened this issue Nov 9, 2022 · 4 comments
Labels
feature request New feature or request

Comments

@j29scott
Copy link

j29scott commented Nov 9, 2022

Would it be possible to get a cleaner interface for accessing bounds in intermediate layers? This is an extremely useful feature.

The ordered dictionary in _modules of a BoundedModule obtained from compute_bounds overwrites original names.

There is an .ori_name attribute, but its often missing. My solution is very hacky 😜

@huanzhang12
Copy link
Member

Thanks for the suggestion. This is a problem on our list and we are currently working on it. We hope to get a better API for retrieving the intermediate layer bounds in the next release.

@j29scott
Copy link
Author

Hi, any update on this?

Would be nice before the competition :)

@j29scott
Copy link
Author

bumping! :)

@huanzhang12
Copy link
Member

Sorry, none of the people in the team is available for making this change in the short term. If you want to implement this, I am happy to review your pull request.

@shizhouxing shizhouxing added the feature request New feature or request label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants