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
7481ef1e
Commit
7481ef1e
authored
Feb 03, 2018
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed problems in python doc generation.
parent
0e30960b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
dlib.cpp
tools/python/src/dlib.cpp
+12
-2
No files found.
tools/python/src/dlib.cpp
View file @
7481ef1e
...
...
@@ -67,13 +67,22 @@ PYBIND11_MODULE(dlib, m)
// Note that the order here matters. We need to do the basic types first. If we don't
// then what happens is the documentation created by sphinx will use horrible big
// template names to refer to C++ objects rather than the python names python users
// will expect. For instance, if bind_basic_types() isn't called early then when
// routines take a std::vector<double>, rather than saying dlib.array in the python
// docs it will say "std::vector<double, std::allocator<double> >" which is awful and
// confusing to python users.
//
// So when adding new things always add them to the end of the list.
bind_matrix
(
m
);
bind_vector
(
m
);
bind_svm_c_trainer
(
m
);
bind_decision_functions
(
m
);
bind_basic_types
(
m
);
bind_other
(
m
);
bind_svm_rank_trainer
(
m
);
bind_decision_functions
(
m
);
bind_cca
(
m
);
bind_sequence_segmenter
(
m
);
bind_svm_struct
(
m
);
...
...
@@ -86,6 +95,7 @@ PYBIND11_MODULE(dlib, m)
bind_cnn_face_detection
(
m
);
bind_global_optimization
(
m
);
bind_numpy_returns
(
m
);
bind_svm_c_trainer
(
m
);
#ifndef DLIB_NO_GUI_SUPPORT
bind_gui
(
m
);
#endif
...
...
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