define caffe.Net input preprocessing members by boost::python
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Mon, 28 Jul 2014 21:55:13 +0000 (14:55 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Tue, 5 Aug 2014 22:55:45 +0000 (15:55 -0700)
commit99f27fc082612745c8d8cc932be42fdfd035e789
tree6ca62fdad3662cab1a1a51d3691178cdbe3d5eda
parentd1d499df536780e22aa14460042c3e25da41a31b
define caffe.Net input preprocessing members by boost::python

define `Net.{mean, input_scale, channel_swap}` on the boost::python side
so that the members always exist. drop ugly initialization logic.
python/caffe/_caffe.cpp
python/caffe/pycaffe.py