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

Function apply_to_sample

fairseq/utils.py:33–50  ·  view source on GitHub ↗
(f, sample)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

move_to_cudaFunction · 0.85

Calls 1

_applyFunction · 0.85

Tested by

no test coverage detected