MCPcopy Create free account
hub / github.com/HA-Transformer/MAT / LightweightConv1dTBC

Class LightweightConv1dTBC

fairseq/modules/lightweight_convolution.py:85–237  ·  view source on GitHub ↗

Lightweight Convolution assuming the input is TxBxC Args: input_size: # of channels of the input kernel_size: convolution channels padding_l: padding to the left when using "same" padding num_heads: number of heads used. The weight is of shape (num_heads, 1, kerne

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

__init__Method · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected