摘要: 所在目录为: /src/caffe/proto 在caffe.proto中定义了很多结构化数据,比如LayerParameter、Datum、NetParameter、SolverParameter。你每实现一个新的层都必须修改LayerParameter,然后编译。 caffe.proto文件: 阅读全文
posted @ 2017-11-09 15:06 有梦就要去实现他 阅读(533) 评论(0) 推荐(0) 编辑
摘要: Caffe内部维护一个注册表用于查找特定Layer对应的工厂函数(Layer Factory的设计用到了设计模式里的工厂模式)。Layer_factory的主要作用是负责Layer的注册,已经注册完事的Layer在运行时可以通过传递一个 LayerParameter 给 CreaterLayer 函 阅读全文
posted @ 2017-11-09 14:47 有梦就要去实现他 阅读(886) 评论(0) 推荐(0) 编辑