MCPcopy Create free account
hub / github.com/FLC777/GLAT / __init__

Method __init__

fairseq/sequence_generator.py:954–955  ·  view source on GitHub ↗
(self, models)

Source from the content-addressed store, hash-verified

952 """A wrapper around an ensemble of models."""
953
954 def __init__(self, models):
955 super().__init__(models)
956
957 def forward_align(self, src_tokens, src_lengths, prev_output_tokens):
958 avg_attn = None

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected