Skip to content

Commit

Permalink
Add check_gradgrad=False for new NLLLoss2d test.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchanan authored and soumith committed Jul 25, 2017
1 parent 7687c26 commit 506d52d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/common_nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@
constructor_args=(None, True, 3),
input_size=(2, 3, 5, 5),
target=torch.rand(2, 5, 5).mul(4).floor().long(),
desc='ignore_index'
desc='ignore_index',
check_gradgrad=False,
),
dict(
module_name='HingeEmbeddingLoss',
Expand Down

0 comments on commit 506d52d

Please sign in to comment.