Skip to content

Conversation

@Xtraordinaire9911
Copy link

I fixed a NameError in main(). But still there exist other issues is your class "positional_encoding", round line 100 in the file modules.py . I am not quite sure that self._backend is inherited from nn.Module; and there is an AttributeError induced by this code:

outputs = self._backend.Embedding.apply(
position_ind, lookup_table, padding_idx, None, 2, False, False)

I will figure out further how to sort out the issue~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant