use Blob directly instead of shared_ptr for DropoutLayer::rand_vec_
authorJonathan L Long <jonlong@cs.berkeley.edu>
Tue, 1 Jul 2014 19:52:48 +0000 (12:52 -0700)
committerJonathan L Long <jonlong@cs.berkeley.edu>
Sun, 20 Jul 2014 01:31:32 +0000 (18:31 -0700)
commitf6696d8b5d8c43c7de41c0c7be7af97ba09160a0
tree00cd84533ee5a62445ae443bd50bd12d6f8792d5
parent03544062c447019e5a86865ae6c3b12826211553
use Blob directly instead of shared_ptr for DropoutLayer::rand_vec_

This will simplify the implementation of Reshape by making allocation
automatic. There is no need for shared_ptr here, and this is more
uniform with buffers used by other layers.
include/caffe/neuron_layers.hpp
src/caffe/layers/dropout_layer.cpp
src/caffe/layers/dropout_layer.cu