Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
remove excess assert_raises_cudnn_disabled usage
Browse files Browse the repository at this point in the history
  • Loading branch information
szha committed Aug 3, 2018
1 parent d13a2d4 commit 74bda2b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/python/unittest/test_gluon_rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
from common import assert_raises_cudnn_disabled


@assert_raises_cudnn_disabled()
def test_rnn():
cell = gluon.rnn.RNNCell(100, prefix='rnn_')
inputs = [mx.sym.Variable('rnn_t%d_data'%i) for i in range(3)]
Expand All @@ -51,7 +50,6 @@ def test_lstm():
assert outs == [(10, 100), (10, 100), (10, 100)]


@assert_raises_cudnn_disabled()
def test_lstm_forget_bias():
forget_bias = 2.0
stack = gluon.rnn.SequentialRNNCell()
Expand Down Expand Up @@ -89,7 +87,6 @@ def test_lstm_cpu_inference():
rtol=1e-3, atol=1e-5)


@assert_raises_cudnn_disabled()
def test_gru():
cell = gluon.rnn.GRUCell(100, prefix='rnn_')
inputs = [mx.sym.Variable('rnn_t%d_data'%i) for i in range(3)]
Expand Down

0 comments on commit 74bda2b

Please sign in to comment.