We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9921353 commit f1945f5Copy full SHA for f1945f5
test/test.lua
@@ -4066,6 +4066,9 @@ function rnntest.VariableLength_ToFinal()
4066
end
4067
4068
function rnntest.VariableLength_ToFinal_cuda()
4069
+ if not rnn.cuda then
4070
+ return
4071
+ end
4072
local nSamples = 10
4073
local maxLength = 20
4074
for run=1,10 do
@@ -4123,6 +4126,9 @@ function rnntest.VariableLength_FromFinal()
4123
4126
4124
4127
4125
4128
function rnntest.VariableLength_FromFinal_cuda()
4129
4130
4131
4132
torch.manualSeed(2)
4133
4134
0 commit comments