Skip to content

Conversation

@colesbury
Copy link
Member

No description provided.

@@ -20,8 +20,9 @@ def __init__(self, data_tensor, target_tensor):
self.target_tensor = self.target_tensor.view(-1, 1)

def __getitem__(self, index):
if index >= len(self):

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@apaszke apaszke mentioned this pull request Dec 1, 2016
@colesbury colesbury merged commit be3276f into pytorch:master Dec 2, 2016
szagoruyko added a commit to szagoruyko/examples that referenced this pull request Dec 10, 2016
mrshenli pushed a commit to mrshenli/pytorch that referenced this pull request Apr 11, 2020
KyleCZH pushed a commit to KyleCZH/pytorch that referenced this pull request Sep 20, 2021
Update magma for windows binaries
g00u pushed a commit to g00u/examples that referenced this pull request Mar 21, 2025
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.

2 participants