diff options
author | Anthony Wang | 2022-02-21 15:03:28 -0600 |
---|---|---|
committer | Anthony Wang | 2022-02-21 15:03:28 -0600 |
commit | 423c1d8304238888758abdf462d625e88cf7db22 (patch) | |
tree | de722ed1eb9ed5d0842577f0d1f7d5a4958ec870 /dataset.py | |
parent | 9e84768780946d20ea33deddad6293525b0ba0f9 (diff) |
Cleanup and reformat with autopep8
Diffstat (limited to 'dataset.py')
-rw-r--r-- | dataset.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,4 +25,4 @@ class Dataset(torch.utils.data.Dataset): def __getitem__(self, index): return (torch.tensor(self.words_indexes[index:index+self.seq_size]), - torch.tensor(self.words_indexes[index+1:index+self.seq_size+1]))
\ No newline at end of file + torch.tensor(self.words_indexes[index+1:index+self.seq_size+1])) |