fairseq/models/fairseq_decoder.py
Killed 0 out of 3 mutantsSurvived
Survived mutation testing. These mutants show holes in your test suite.Mutant 253
--- fairseq/models/fairseq_decoder.py
+++ fairseq/models/fairseq_decoder.py
@@ -15,7 +15,7 @@
def __init__(self, dictionary):
super().__init__()
- self.dictionary = dictionary
+ self.dictionary = None
self.onnx_trace = False
def forward(self, prev_output_tokens, encoder_out=None, **kwargs):
Mutant 254
--- fairseq/models/fairseq_decoder.py
+++ fairseq/models/fairseq_decoder.py
@@ -16,7 +16,7 @@
def __init__(self, dictionary):
super().__init__()
self.dictionary = dictionary
- self.onnx_trace = False
+ self.onnx_trace = True
def forward(self, prev_output_tokens, encoder_out=None, **kwargs):
"""
Mutant 255
--- fairseq/models/fairseq_decoder.py
+++ fairseq/models/fairseq_decoder.py
@@ -16,7 +16,7 @@
def __init__(self, dictionary):
super().__init__()
self.dictionary = dictionary
- self.onnx_trace = False
+ self.onnx_trace = None
def forward(self, prev_output_tokens, encoder_out=None, **kwargs):
"""