call Reshape in Layer::SetUp
authorJonathan L Long <jonlong@cs.berkeley.edu>
Fri, 12 Sep 2014 20:56:38 +0000 (13:56 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Thu, 18 Sep 2014 20:17:43 +0000 (13:17 -0700)
commitd2de2ee54386500701527450145dd7cb7512a3e4
treebf1c4611b5e60480723fc83d24e8dcf0da71075c
parent6c63b8ce0835590caf58abe155ad3cbeca476576
call Reshape in Layer::SetUp

Strictly speaking, Reshape doesn't need to be called until the first
Forward call; however, much existing code (especially tests) assumes
that top blobs will be set up in SetUp, so we may as well do it there.
include/caffe/layer.hpp