当前位置: 首页 > news >正文

depth wisepoint wise

文章目录

  • 1. Description
  • 2. code

1. Description

point wise
1. function: for the separated pixel without pixel confusion
2. kernel size : 3x3 ,star matrix [[0,0,0],[0,1,0],[0,0,0]] depth wise
1. fuction: for the separated channel without channel confusion
2. kernel size: any kernel matrix
3. Pytorch : conv2d for the groups=in_channels
patch embedding
1. function : for the feature embedding without overlap for conv2d;
c * hw --> cc/p*c/p
2. kernel: conv2d(out_channels,in_channels,kernel_size=p,stride=p)
3. advantage: for reducing the parameters,can use the patch as the feature point
groups
1. function : for the channel separated
2. if conv2D=(4,2,3,3weight =[4,2,3,3] for the groups=1;
if conv2d=(4,2,3,3,groups=2)==> weight=[4,1,3,3] for the groups=2
dilation
1. function : increase the sample scope
2. how to achieve the dilation with matrix multiply
stride
1. function: move with stride gap
padding
1. function: filling the matrix with zero elements

2. code

  • original_conv2d = nn.conv2d(out_channel=4,in_channel=2,kernel_size=(3,3),groups=1)
    weight = [4,2,3,3]
  • group1_conv2d = nn.conv2d(out_channel=4,in_channel=2,kernel_size=(3,3),groups=2)
    weight = [4,1,3,3]
  • group2_conv2d = nn.conv2d(out_channel=4,in_channel=2,kernel_size=(3,3),groups=2)
    weight = [4,1,3,3]

http://www.mrgr.cn/news/80117.html

相关文章:

  • Spring Boot集成Kafka:最佳实践与详细指南
  • docker安装、升级、以及sudo dockerd --debug查看启动失败的问题
  • UE4_贴花_贴花基础知识一
  • 光芯片赛道持续火热!携人工智能推动各行业革新发展!
  • PyTorch 中的 detach 函数详解
  • 【安全研究】某黑产网站后台滲透与逆向分析
  • 【收藏】Cesium 限制相机倾斜角(pitch)滑动范围
  • faster-RCNN训练【环境配置→自建数据集→训练→改错】
  • C语言实现八大排序算法
  • 【C语言】库函数常见的陷阱与缺陷(六):输入输出函数
  • kubeadm安装K8s集群之高可用组件keepalived+nginx及kubeadm部署
  • OSPF协议
  • ubuntu20.04复现 Leg-KILO
  • centos7的yum镜像源设置
  • 暂停一下,给Next.js项目配置一下ESLint(Next+tailwind项目)
  • 程序的调试
  • 6.2 MapReduce工作原理
  • QT笔记- QSystemTrayIcon系统托盘功能完整示例
  • 【C++】简单计算器问题的深度解析与优化对比
  • 【Qt】信号、槽
  • ESP32-S3模组上跑通ES8388(30)
  • C++3--内联函数、auto
  • virtualbox 搭建ubuntu
  • ---mysql server: Ubuntu Linux下最最基本的操作
  • 关于睡懒觉
  • Elasticsearch 集群部署