Skip to content

Commit

Permalink
Merge pull request #2 from heartcored98/master
Browse files Browse the repository at this point in the history
Fix misspelling when checking cuda availbility
  • Loading branch information
theeluwin committed Jun 3, 2018
2 parents f52343b + 4bda45a commit f01b465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def forward_i(self, data):

def forward_o(self, data):
v = V(LT(data), requires_grad=False)
v = v.cuda() if self.ivectors.weight.is_cuda else v
v = v.cuda() if self.ovectors.weight.is_cuda else v
return self.ovectors(v)


Expand Down

0 comments on commit f01b465

Please sign in to comment.