[pycaffe] allow Layer to be extended from Python
authorJonathan L Long <jonlong@cs.berkeley.edu>
Thu, 8 Jan 2015 00:56:08 +0000 (16:56 -0800)
committerJonathan L Long <jonlong@cs.berkeley.edu>
Tue, 17 Feb 2015 06:47:30 +0000 (22:47 -0800)
commitd94f107ad990f02aa544868250cc5d48fa269eb1
treed88996159bfb5a7aa295786c9d00c89f3c3f1338
parent965df8f069481510d0993af203378cf8e604f466
[pycaffe] allow Layer to be extended from Python

This is done by adding PythonLayer as a boost::python HeldType.
Makefile
include/caffe/python_layer.hpp [new file with mode: 0644]
python/caffe/_caffe.cpp
src/caffe/layer_factory.cpp
src/caffe/proto/caffe.proto