Skip to content

Commit

Permalink
Fixed flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
vfdev-5 committed Oct 12, 2020
1 parent 19a1405 commit ba5fdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_sparse.py
Expand Up @@ -1107,7 +1107,7 @@ def test_shape(di, dj, dk, nnz):

# Test code from issue https://github.com/pytorch/pytorch/issues/45113
batch_size, input_size, hidden_size = 5, 3, 7

# Create coalesced sparse tensor as in the issue
weight = torch.randn(hidden_size, input_size).to_sparse()
self.assertTrue(weight.is_coalesced())
Expand Down

0 comments on commit ba5fdfc

Please sign in to comment.