Skip to content

Conversation

@longjon
Copy link
Contributor

@longjon longjon commented Mar 20, 2015

The includes of net.hpp removed by this PR appear to be totally spurious; in fact there should be no need for layers to know about Net at all.

This will also make it possible for Net to use boost::thread in the future, without causing any nvcc trouble by inclusion in layer CUDA code.

@shelhamer
Copy link
Member

Won't this conflict with #1974 needed for #1976? (Not literally as a code conflict but net.hpp will be needed by Layer if we go that route.)

@longjon
Copy link
Contributor Author

longjon commented Mar 20, 2015

@shelhamer: This patch should be a reasonable cleanup even with #1974, but yes, the future work that depends on this will conflict with #1974; so be it.

@shelhamer
Copy link
Member

Fair enough!

@jeffdonahue
Copy link
Contributor

Thanks for the cleanup @longjon!

jeffdonahue added a commit that referenced this pull request May 14, 2015
Remove spurious inclusions of net.hpp
@jeffdonahue jeffdonahue merged commit 2332641 into BVLC:master May 14, 2015
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 this pull request may close these issues.

3 participants