Skip to content

Commit

Permalink
Test fixed to use the new operation_mode enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Cydral committed Dec 10, 2024
1 parent 274f32f commit 8685ed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dlib/test/dnn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2469,13 +2469,13 @@ void test_embeddings()
}
{
print_spinner();
softmax_<operation_mode::CHANNEL_WISE> l;
softmax_<static_cast<unsigned long>(operation_mode::CHANNEL_WISE)> l;
auto res = test_layer(l);
DLIB_TEST_MSG(res, res);
}
{
print_spinner();
softmax_<operation_mode::PLANE_WISE> l;
softmax_<static_cast<unsigned long>(operation_mode::PLANE_WISE)> l;
auto res = test_layer(l);
DLIB_TEST_MSG(res, res);
}
Expand Down

0 comments on commit 8685ed8

Please sign in to comment.