fairseq/modules/positional_embedding.py

Killed 0 out of 1 mutants

Survived

Survived mutation testing. These mutants show holes in your test suite.

Mutant 1361

--- fairseq/modules/positional_embedding.py
+++ fairseq/modules/positional_embedding.py
@@ -12,7 +12,7 @@
         num_embeddings: int,
         embedding_dim: int,
         padding_idx: int,
-        learned: bool = False,
+        learned: bool = True,
 ):
     if learned:
         # if padding_idx is specified then offset the embedding ids by