Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
9e3b19c8
Commit
9e3b19c8
authored
Jan 16, 2018
by
Davis King
Browse files
Added warning about simd instructions
parent
9e3f6220
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
tools/python/src/dlib.cpp
tools/python/src/dlib.cpp
+3
-0
No files found.
tools/python/src/dlib.cpp
View file @
9e3b19c8
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
// License: Boost Software License See LICENSE.txt for the full license.
// License: Boost Software License See LICENSE.txt for the full license.
#include <pybind11/pybind11.h>
#include <pybind11/pybind11.h>
#include <dlib/simd.h>
namespace
py
=
pybind11
;
namespace
py
=
pybind11
;
...
@@ -40,6 +41,8 @@ PYBIND11_MODULE(dlib, m)
...
@@ -40,6 +41,8 @@ PYBIND11_MODULE(dlib, m)
#define DLIB_QUOTE_STRING2(x) #x
#define DLIB_QUOTE_STRING2(x) #x
m
.
attr
(
"__version__"
)
=
DLIB_QUOTE_STRING
(
DLIB_VERSION
);
m
.
attr
(
"__version__"
)
=
DLIB_QUOTE_STRING
(
DLIB_VERSION
);
warn_about_unavailable_but_used_cpu_instructions
();
bind_matrix
(
m
);
bind_matrix
(
m
);
bind_vector
(
m
);
bind_vector
(
m
);
bind_svm_c_trainer
(
m
);
bind_svm_c_trainer
(
m
);
...
...
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