Update pre-commit & run on all files
This commit is contained in:
@@ -6,6 +6,7 @@ Copy-paste from torch.nn.Transformer with modifications:
|
||||
* extra LN at the end of encoder is removed
|
||||
* decoder returns a stack of activations from all decoding layers
|
||||
"""
|
||||
|
||||
import copy
|
||||
from typing import Optional
|
||||
|
||||
|
||||
Reference in New Issue
Block a user