from local

This commit is contained in:
dohe0342 2023-02-14 17:54:00 +09:00
parent b6a0ae8b61
commit 01fbc6c4b9
2 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ class Conformer(Transformer):
mask = mask.to(x.device) if mask is not None else None mask = mask.to(x.device) if mask is not None else None
x, layer_outputs = self.encoder( x, layer_outputs = self.encoder(
x, pos_emb, src_key_padding_mask=mask, warmup=warmup, x, pos_emb, src_key_padding_mask=mask, warmup=warmup, condition_layer=self.condition_layer,
) # (S, N, C) ) # (S, N, C)
if self.group_num != 0: if self.group_num != 0: