↓ 6 callersMethod_set_input_buffer(
self,
incremental_state: Dict[str, Dict[str, Optional[Tensor]]],
buffer: Dict[str, O
fairseq-modified/fairseq/model_parallel/modules/multihead_attention.py:307
↓ 6 callersMethodinference_step(self, generator, models, sample, prefix_tokens=None, constraints=None)
fairseq-modified/fairseq/tasks/fairseq_task.py:421
↓ 4 callersMethodassertHypoScore(
self, hypo, pos_probs, sibling_rank, diversity_rate, normalized=True, lenpen=1.0
)
fairseq-modified/tests/test_sequence_generator.py:400
↓ 4 callersMethodbinarize_with_mask(self, txt, prefix, suffix, leading_space, trailing_space)
fairseq-modified/examples/roberta/wsc/wsc_task.py:93