torch_conv_tbc {torch}R Documentation

Conv_tbc

Description

Conv_tbc

Usage

torch_conv_tbc(self, weight, bias, pad = 0L)

Arguments

self

NA input tensor of shape (\mboxsequencelength×batch×\mboxin_channels)(\mbox{sequence length} \times batch \times \mbox{in\_channels})

weight

NA filter of shape (\mboxkernelwidth×\mboxin_channels×\mboxout_channels\mbox{kernel width} \times \mbox{in\_channels} \times \mbox{out\_channels})

bias

NA bias of shape (\mboxout_channels\mbox{out\_channels})

pad

NA number of timesteps to pad. Default: 0

TEST

Applies a 1-dimensional sequence convolution over an input sequence. Input and output dimensions are (Time, Batch, Channels) - hence TBC.


[Package torch version 0.13.0 Index]