
pytorch函数用法
大腿壮
这个作者很懒,什么都没留下…
展开
-
pytorch函数之:torch.nn.ConvTranspose2d 转置卷积
函数原型:torch.nn.ConvTranspose2d(in_channels, out_channels, kernel_size, stride=1, padding=0, output_padding=0, groups=1, bias=True, dilation=1, padding_mode='zeros')其中,各参数的含义如下:i...原创 2020-04-20 10:12:29 · 2800 阅读 · 0 评论 -
pytorch函数之torch.index_select
pytorch函数之torch.index_selecttorch.index_select函数顾名思义就是根据index索引在input输入张量中选择某些特定的元素,下面介绍该函数的参数。torch.index_select(input, dim, index, out=None):input:输入Tensor,在该Tensor上根据index和dim进行切片;dim:切片维度,在inp...原创 2020-04-09 10:03:47 · 4392 阅读 · 1 评论