Skip to content

Commit 300f43f

Browse files
committed
dismantle layer headers
No more monolithic includes: split layers into their own headers for modular inclusion and build.
1 parent 62ed0d2 commit 300f43f

File tree

224 files changed

+4497
-3568
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

224 files changed

+4497
-3568
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ NONEMPTY_LINT_REPORT := $(BUILD_DIR)/$(LINT_EXT)
7878
# PY$(PROJECT)_SRC is the python wrapper for $(PROJECT)
7979
PY$(PROJECT)_SRC := python/$(PROJECT)/_$(PROJECT).cpp
8080
PY$(PROJECT)_SO := python/$(PROJECT)/_$(PROJECT).so
81-
PY$(PROJECT)_HXX := include/$(PROJECT)/python_layer.hpp
81+
PY$(PROJECT)_HXX := include/$(PROJECT)/layers/python_layer.hpp
8282
# MAT$(PROJECT)_SRC is the mex entrance point of matlab package for $(PROJECT)
8383
MAT$(PROJECT)_SRC := matlab/+$(PROJECT)/private/$(PROJECT)_.cpp
8484
ifneq ($(MATLAB_DIR),)

include/caffe/caffe.hpp

-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@
1717
#include "caffe/util/benchmark.hpp"
1818
#include "caffe/util/io.hpp"
1919
#include "caffe/util/upgrade_proto.hpp"
20-
#include "caffe/vision_layers.hpp"
2120

2221
#endif // CAFFE_CAFFE_HPP_

0 commit comments

Comments
 (0)