-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
I wonder why the characters are brought in inverse order. (L121)
I would appreciate if someone could tell me how this works! I doubt that I might have missed something.
character-based-cnn/src/data_loader.py
Lines 118 to 125 in 5931976
| data = np.array( | |
| [ | |
| self.identity_mat[self.vocabulary.index(i)] | |
| for i in list(raw_text)[::-1] | |
| if i in self.vocabulary | |
| ], | |
| dtype=np.float32, | |
| ) |
Thanks!
Metadata
Metadata
Assignees
Labels
No labels