• 文档 >
  • torch.nn >
  • LazyConvTranspose3d
快捷键

LazyConvTranspose3d

class torch.nn.LazyConvTranspose3d(out_channels, kernel_size, stride=1, padding=0, output_padding=0, groups=1, bias=True, dilation=1, padding_mode='zeros', device=None, dtype=None)[source][source]

一个具有懒加载 in_channels 参数的 torch.nn.ConvTranspose3d 模块。

The in_channels argument of the ConvTranspose3d is inferred from the input.size(1). The attributes that will be lazily initialized are weight and bias.

检查 torch.nn.modules.lazy.LazyModuleMixin 以获取关于懒加载模块及其限制的进一步文档。

参数:
  • out_channels (int) – Number of channels produced by the convolution

  • 卷积核大小(整数或元组)- 卷积核的大小

  • stride(int 或 tuple,可选)- 卷积的步长。默认:1

  • padding(整数或元组,可选)- dilation * (kernel_size - 1) - padding 在输入的每个维度两侧将添加零填充。默认:0

  • output_padding(整数或元组,可选)- 添加到输出形状每个维度一侧的额外大小。默认:0

  • groups(整数,可选)- 从输入通道到输出通道的阻塞连接数量。默认:1

  • bias(布尔值,可选)- 如果 True ,则向输出添加可学习的偏置。默认: True

  • 扩展 (int 或 tuple,可选) – 卷积核元素之间的间距。默认:1

参见

torch.nn.ConvTranspose3dtorch.nn.modules.lazy.LazyModuleMixin

cls_to_become[source]

ConvTranspose3d 的别名


© 版权所有 PyTorch 贡献者。

使用 Sphinx 构建,并使用 Read the Docs 提供的主题。

文档

PyTorch 的全面开发者文档

查看文档

教程

深入了解初学者和高级开发者的教程

查看教程

资源

查找开发资源并获得您的疑问解答

查看资源