主要包括softmax-loss层(与softmax有区别),全连接层(Inner Prouduct),accuracy层,reshape层,

Dropout层。

softmax:

layers {
bottom: "cls3_fc"
top: "prob"//概率似然值
name: "prob"
type: “Softmax"
}

accuracy

layer {
name: "accuracy"
type: "Accuracy"
bottom: "ip2"
bottom: "label"
top: "accuracy"
include {
phase: TEST //test阶段才有
}
}

reshape

 layer { //改变输入的维度
name: "reshape"
type: "Reshape"
bottom: "input"
top: "output"
reshape_param {
shape {//指定blob数据各维的值n*c*w*h
dim: # copy the dimension from below维度不变
dim: 2 #将原来的维度变成2
dim:
dim: - # infer it from the other dimensions根据其他三维来计算当前维度
}
}
}

Dropout层

layer {
name: "drop7"
type: "Dropout"
bottom: "fc7-conv"
top: "fc7-conv"
dropout_param {
dropout_ratio: 0.5
}
}

参考:http://www.cnblogs.com/denny402/p/5072746.html

最新文章

  1. 人生苦短,我用python——当我在玩python的时候我玩些什么
  2. PHP流程控制之循环结构
  3. Caffe学习系列(21):caffe图形化操作工具digits的安装与运行
  4. ab apache Benchmarking中链接的写法 记得加上/
  5. 设置Tomcat默认界面
  6. [Django 1.5] Windows + Apache + wsgi配置
  7. Linux系统安全需要注意的一些问题
  8. C#版 - Leetcode49 - 字母异位词分组 - 题解
  9. Python中Lambda表达式使用
  10. Android Studio 快捷键总结(OS X)
  11. Dockerfile文件制作自己的镜像
  12. 更换tomcat运行日志目录
  13. oracle之简单总结
  14. 编译错误 error C2451: “std::_Unforced”类型的条件表达式是非法的
  15. [luogu 3957]跳房子
  16. Linux 系统的用户和组详解_【all】
  17. Educational Codeforces Round 46 (Div 2) (A~G)
  18. 高并发系列之——缓存中间件Redis
  19. mybatis大框架
  20. JavaScript“并非”一切皆对象

热门文章

  1. Ubuntu——"xxx is not in the sudoers file.This incident will be reported" 错误解决方法
  2. python线程锁
  3. Cloudservice程序设置Idle timeout
  4. JS转码
  5. jquery满屏滚动代码
  6. Sphinx 2.2.6 window下安装全过程 未完 持续标记~~~~
  7. Java并发编程核心方法与框架-TheadPoolExecutor的使用
  8. ASP.NET MVC 4+ T.JPager使用
  9. github常见操作和常见错误!
  10. zookeeper原理(转)