caffe icon indicating copy to clipboard operation
caffe copied to clipboard

add continuation indicator layer for intel caffe

Open lddsdu opened this issue 6 years ago • 2 comments

The continuation_indicator_layer is used to produce one blob as the bottom input for lstm layer, and this layer used the parameter below message ContinuationIndicatorParameter { optional uint32 time_step = 1 [default = 0]; optional uint32 batch_size = 2 [default = 0]; } The shape of this blob is (time_step, shape), this may useful when using lstm layer.

lddsdu avatar May 12 '18 07:05 lddsdu

thanks @lddsdu . we usually do same thing by having a python layer. it's mainly because user may not know the time step before data preprocessing. so it's hard to assign a max value in proto file. but anyway your path looks good for me.

ftian1 avatar May 17 '18 01:05 ftian1

@ftian1 Thank you! by the way, I want to know if you would like to add 3d convolution layers in intel caffe, when I using 2d convolution in a 40 cores cpu computer server, it is about 1.5 times as fast as the tesla p4. It's really amazing,I need to use 3d convolution when dealing with videos.

lddsdu avatar May 18 '18 01:05 lddsdu