当前位置:网站首页>Convn-n dimensional convolution
Convn-n dimensional convolution
2022-06-27 12:34:00 【qq-120】
convn N Dimensional convolution
One 、 grammar
C = convn(A,B)
C = convn(A,B,shape)
Two 、 explain
C = convn(A,B) Returns an array of A and B Of N Dimensional convolution .
C = convn(A,B,shape) according to shape Returns the sub region of the convolution . for example ,C = convn(A,B,‘same’) Returns the size and in the convolution A The same central part .
3、 ... and 、 Example
Three dimensional convolution
You can control convn The output size of the function . for example ,‘same’ Option deletes the outer part of the convolution , Only return to the central part , The size of this part is the same as the input . Seeking random 2×3×2 Array A And 2×2×2 nucleus B Convolution of . The result is a 3×4×3 Array , Size equal to size(A) + size(B) - 1.
A = rand(2,3,2);
B = 0.25*ones(2,2,2);
C = convn(A,B)
C(:,:,1) =
0.1307 0.2556 0.1582 0.0333
0.2102 0.4605 0.3220 0.0718
0.0795 0.2049 0.1638 0.0384
C(:,:,2) =
0.3204 0.5873 0.3593 0.0925
0.4482 0.9268 0.6261 0.1475
0.1278 0.3395 0.2667 0.0551
C(:,:,3) =
0.1897 0.3317 0.2011 0.0591
0.2380 0.4663 0.3040 0.0758
0.0483 0.1346 0.1029 0.0166
Input parameters


边栏推荐
- master公式
- What is the next step in the recommendation system? Alispacetime aggregates GNN, and the effect is to sling lightgcn!
- 自定义多线程基类threading.Event
- How to modify a node_ Files in modules
- 解除百度文库VIP、语雀、知乎付费限制,原来这么简单
- 今晚战码先锋润和赛道第2期直播丨如何参与OpenHarmony代码贡献
- MySQL高阶语句(一)
- mysql学习1:安装mysql
- 怎么找相同台词的影视片段?这8个电影搜索神器,一句台词找到对应片段
- Go Web 编程入门:验证器
猜你喜欢

How to find the movie and TV clips with the same lines? These 8 movies search for artifact, and find the corresponding segment in one line

最短编辑距离(线性dp写法)

The world's fastest download tool XDM

Script defer async mode

二叉树的三种遍历方式

mysql学习1:安装mysql

pull request

ACL 2022 | 中科院提出TAMT:TAMT:通过下游任务无关掩码训练搜索可迁移的BERT子网络

浏览器cookie转selenium cookie登录

SSH workflow and principle
随机推荐
对象序列化
Win10彻底永久关闭自动更新的步骤
秒云荣获《2022爱分析 · IT运维厂商全景报告》智能运维AIOps市场代表厂商
MapReduce practical cases (customized sorting, secondary sorting, grouping, zoning)
build.gradle 配置
Utilisation de la file d'attente des messages
yml的配置
亚马逊测评掉评、留不上评是怎么回事呢?要如何应对?
解开C语言的秘密《关键字》(第六期)
threejs的环境光+点光源+平行光源+球面光 以及hepler理解+阴影()
微服务拆分
word文本框换页
【粉丝福利】今天给大家介绍一个白捡钱的方法-可转债,本人亲自验证,每年每人能获利1500元
解压 .log.gz 文件
Custom multithreading base class threading Event
MySQL高阶语句(一)
Interview shock 60: what will cause MySQL index invalidation?
Nmcli team bridge basic configuration
. Net6 access skywalking link tracking complete process
Uni app sends request instructions using the escook / request miniprogram plug-in