Reshape and ssd Permute onnx转换caffe代码

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.csdn.net/u014202086/article/details/78143501?utm_source=blogxgwz8
在这里插入图片描述

caffe特殊层:permute\reshape\flatten\slice\concat

https://blog.csdn.net/liu1152239/article/details/81478313
在这里插入图片描述

发布了98 篇原创文章 · 获赞 141 · 访问量 26万+

猜你喜欢

转载自blog.csdn.net/m0_37192554/article/details/103618652