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 (\mbox{sequence length} \times batch \times \mbox{in\_channels})

weight

filter of shape (\mbox{kernel width} \times \mbox{in\_channels} \times \mbox{out\_channels})

bias

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

pad

number of timesteps to pad. Default: 0


[Package torch version 0.13.0 Index]