nnf_conv_tbc {torch}R Documentation

Conv_tbc

Description

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

Usage

nnf_conv_tbc(input, weight, bias, pad = 0)

Arguments

input

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

weight

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

bias

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

pad

number of timesteps to pad. Default: 0


[Package torch version 0.13.0 Index]