Add option not to reshape to Blob::FromProto; use when loading Blobs
authorJeff Donahue <jeff.donahue@gmail.com>
Sat, 31 Jan 2015 07:16:44 +0000 (23:16 -0800)
committerJeff Donahue <jeff.donahue@gmail.com>
Tue, 3 Mar 2015 23:55:15 +0000 (15:55 -0800)
commit71df6f90c8cc72c197db6bfe4b24480ab42b93bc
treebe0ada41831190d450a11d715b19b1ee999d0200
parent269dafa37a96250012a10537ad773840b4621ff7
Add option not to reshape to Blob::FromProto; use when loading Blobs
from saved NetParameter

Want to keep the param Blob shape the layer has set, and not necessarily
adopt the one from the saved net (e.g. want to keep new 1D bias shape,
rather than take the (1 x 1 x 1 x D) shape from a legacy net).
include/caffe/blob.hpp
src/caffe/blob.cpp
src/caffe/net.cpp