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
b0a8831c
Commit
b0a8831c
authored
Jul 07, 2013
by
Davis King
Browse files
Added python docstring
parent
59ad798d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
tools/python/src/svm_struct.cpp
tools/python/src/svm_struct.cpp
+7
-1
No files found.
tools/python/src/svm_struct.cpp
View file @
b0a8831c
...
@@ -134,7 +134,13 @@ matrix<double,0,1> solve_structural_svm_problem(
...
@@ -134,7 +134,13 @@ matrix<double,0,1> solve_structural_svm_problem(
void
bind_svm_struct
()
void
bind_svm_struct
()
{
{
def
(
"solve_structural_svm_problem"
,
solve_structural_svm_problem
);
using
boost
::
python
::
arg
;
def
(
"solve_structural_svm_problem"
,
solve_structural_svm_problem
,
(
arg
(
"problem"
)),
"This function solves a structural SVM problem and returns the weight vector
\n
\
that defines the solution. See the example program python_examples/svm_struct.py
\n
\
for documentation about how to create a proper problem object. "
);
}
}
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
...
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