Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6dbc5e0

Browse files
authored
Merge pull request#23545 from Abdurrahheem:tests_lstm_init_no_hidden_states
Added test for LSTM without hidden state initialisation
2 parentsaf1c63c +3b1ee05 commit6dbc5e0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎modules/dnn/test/test_onnx_importer.cpp‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,6 +1387,13 @@ TEST_P(Test_ONNX_layers, LSTM_cell_batchsize_5_seqlen_5)
13871387
testONNXModels("lstm_cell_batchsize_5_seqlen_5", npy,0,0,false,false);
13881388
}
13891389

1390+
TEST_P(Test_ONNX_layers, LSTM_init_h0_c0)
1391+
{
1392+
if(backend == DNN_BACKEND_CUDA)
1393+
applyTestTag(CV_TEST_TAG_DNN_SKIP_CUDA);
1394+
testONNXModels("lstm_init_h0_c0", npy,0,0,false,false,3);
1395+
}
1396+
13901397
TEST_P(Test_ONNX_layers, Pad2d_Unfused)
13911398
{
13921399
testONNXModels("ReflectionPad2d");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp