joechou commited on
Commit
479c8b1
1 Parent(s): 859e19c

Update transformer.py

Browse files
Files changed (1) hide show
  1. transformer.py +1 -1
transformer.py CHANGED
@@ -12,7 +12,7 @@ from torch.nn.modules.transformer import (
12
 
13
  from dataset import Batched, EncodedBatch
14
  from vocab import BOS_ID, EOS_ID, PAD_ID
15
- import helper
16
 
17
  class PositionalEncoding(nn.Module):
18
  def __init__(self, dropout, dim, max_len=5000):
 
12
 
13
  from dataset import Batched, EncodedBatch
14
  from vocab import BOS_ID, EOS_ID, PAD_ID
15
+ import helpers
16
 
17
  class PositionalEncoding(nn.Module):
18
  def __init__(self, dropout, dim, max_len=5000):