conv1d函数(conv2d函数)

conv1d函数(conv2d函数)参数 参数类型 nbsp nbsp int Number of channels in the input image 输入图像通道数 int Number of channels produced by the convolution 卷积产生的通道数 int or tuple Size of the convolving kernel 卷积核尺寸

大家好,我是讯享网,很高兴认识大家。



int

Number of channels in the input image

输入图像通道数

int

Number of channels produced by the convolution

卷积产生的通道数

(int or tuple)

Size of the convolving kernel

卷积核尺寸,可以设为1个int型数或者一个(int, int)型的元组。例如(2,3)是高2宽3卷积核

(int or tuple, optional)

Stride of the convolution. Default: 1

卷积步长,默认为1。可以设为1个int型数或者一个(int, int)型的元组。


讯享网

(int or tuple, optional)

Zero-padding added to both sides of the input. Default: 0

填充操作,控制的数目。

(string, optional)

‘zeros’, ‘reflect’, ‘replicate’ or ‘circular’. Default: ‘zeros’

模式,默认为Zero-padding 。

(int or tuple, optional)

Spacing between kernel elements. Default: 1

扩张操作:控制kernel点(卷积核点)的间距,默认值:1。

(int, optional)

Number of blocked connections from input channels to output channels. Default: 1

group参数的作用是控制分组卷积,默认不分组,为1组。

(bool, optional)

If True, adds a learnable bias to the output. Default: True

为真,则在输出中添加一个可学习的偏差。默认:True。

小讯
上一篇 2025-04-15 19:45
下一篇 2025-06-02 13:47

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/148932.html