caffe 中两个层的参数如下
layer {
name: "reshape"
type: "Reshape"
bottom: "input"
top: "output"
reshape_param { ##字典里面一个字典
shape {
dim: 0 # copy the dimension from below
dim: 2
dim: 3
dim: -1 # infer it from the other dimensions
}
}
}
两个参数是一个是一组字典,一个是一组列表值
参数名字一个是shape 一个是order
Caffe 转SNPE dlc格式之Flatten、Reshape、Permute层的使用
https://blog.youkuaiyun.com/u014202086/article/details/78143501?utm_source=blogxgwz8

caffe特殊层:permute\reshape\flatten\slice\concat
https://blog.youkuaiyun.com/liu1152239/article/details/81478313

本文详细解析了Caffe中Reshape层的参数设置方法,包括shape参数的具体含义及使用技巧,同时对比了Flatten、Permute等特殊层的用法,为Caffe模型到SNPEdlc格式的转换提供了实用指南。
808

被折叠的 条评论
为什么被折叠?



