in codes/models.py [0:0]
def __init__(self, max_len): super(Pos_L3_Embed, self).__init__() dim = 2048 self.pos_embed = nn.Embedding(max_len, dim)