fairseq/modules/unfold.py

Killed 0 out of 1 mutants

Survived

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

Mutant 2484

--- fairseq/modules/unfold.py
+++ fairseq/modules/unfold.py
@@ -6,7 +6,7 @@
 import torch.nn.functional as F
 
 
-def unfold1d(x, kernel_size, padding_l, pad_value=0):
+def unfold1d(x, kernel_size, padding_l, pad_value=1):
     '''unfold T x B x C to T x B x C x K'''
     if kernel_size > 1:
         T, B, C = x.size()