首页 > 其他 > 详细

caffe学习3——layers

时间:2016-01-23 18:23:48      阅读:137      评论:0      收藏:0      [点我收藏+]

1 layer是模型的本质,是计算的基本单元。Layers convolve filters, pool, take inner products, apply nonlinearities like rectified-linear and sigmoid and other elementwise transformations, normalize, load data, and compute losses like softmax and hinge. See the layer catalogue for all operations.

2 每层定义三种计算: setupforward, and backward.  there will be two Forward and Backward functions implemented, one for CPU and one for GPU.

3 Developing custom layers requires minimal effort by the compositionality of the network and modularity of the code. Define the setup, forward, and backward for the layer and it is ready for inclusion in a net.

 

caffe学习3——layers

原文:http://www.cnblogs.com/Wanggcong/p/5153536.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!