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

Function register_task

fairseq/tasks/__init__.py:20–53  ·  view source on GitHub ↗

New tasks can be added to fairseq with the :func:`~fairseq.tasks.register_task` function decorator. For example:: @register_task('classification') class ClassificationTask(FairseqTask): (...) .. note:: All Tasks must implement the :class:`~fai

(name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected