Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
66439bca
Commit
66439bca
authored
May 25, 2016
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made tests more repeatable
parent
b9332698
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dnn.cpp
dlib/test/dnn.cpp
+4
-0
No files found.
dlib/test/dnn.cpp
View file @
66439bca
...
@@ -1419,6 +1419,10 @@ namespace
...
@@ -1419,6 +1419,10 @@ namespace
void
perform_test
(
void
perform_test
(
)
)
{
{
// Seed the random number generator the same way every time we run the tests so
// they are repeatable.
srand
(
0
);
test_tagging
();
test_tagging
();
#ifdef DLIB_USE_CUDA
#ifdef DLIB_USE_CUDA
test_conv
();
test_conv
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment