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

Give layers a pointer to their owning Net #1974

Closed
wants to merge 1 commit into from

Conversation

shelhamer
Copy link
Member

master edition of @longjon's #1638:

This allows layers to do essentially arbitrary things that depend on the structure of the net.

This provides a lot of power, but breaks the nice abstraction of a layer as a function-with-gradient. A future PR will depend on this functionality. If it seems sufficiently useful, perhaps we should merge this, but be wary not to abuse it. Or perhaps we should find another way to compute on the structure of nets. Or perhaps we should do the former keeping the latter as a future possibility.

This allows layers to do things that depend, e.g., on net topology.
@shelhamer
Copy link
Member Author

Unnecessary given the separation of responsibilities by the new crop layer #3570 and python net spec coordinates and cropping #3613.

@shelhamer shelhamer closed this Feb 27, 2016
@shelhamer shelhamer deleted the net-pointer branch March 1, 2016 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants