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

Function unfold1d

fairseq/modules/unfold.py:9–17  ·  view source on GitHub ↗

unfold T x B x C to T x B x C x K

(x, kernel_size, padding_l, pad_value=0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_forward_unfoldedMethod · 0.90
_forward_unfoldedMethod · 0.85

Calls 2

padMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected