switch from inheritance to directly overriding methods for caffe.Net
authorJonathan L Long <jonlong@cs.berkeley.edu>
Fri, 4 Apr 2014 05:21:13 +0000 (22:21 -0700)
committerJonathan L Long <jonlong@cs.berkeley.edu>
Sat, 5 Apr 2014 06:39:56 +0000 (23:39 -0700)
commita8a0191089a94887db60ffa8be834e27b327a60b
tree5f0818b1819b56373c698d8a83ead7b89f53851b
parentf43ac550c24d4aeedb3ba996d1fea255007a8ead
switch from inheritance to directly overriding methods for caffe.Net

Also, internally drop the "Caffe" prefix for classes exported by the
internal _caffe module. This change means that SGDSolver will
automatically return a Net with the "nice" Python interface rather than
the internal one, (and avoids the extra layer of method wrapping that
results from switching to composition).
python/caffe/_caffe.cpp
python/caffe/pycaffe.py