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
42a6ee6f
"git@developer.sourcefind.cn:OpenDAS/dlib.git" did not exist on "111f19c65db10034c7880cdbf5c89aaa8d0da6ca"
Commit
42a6ee6f
authored
Apr 29, 2012
by
Davis King
Browse files
minor cleanup
parent
feb1ae5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
dlib/svm/structural_svm_graph_labeling_problem.h
dlib/svm/structural_svm_graph_labeling_problem.h
+6
-4
No files found.
dlib/svm/structural_svm_graph_labeling_problem.h
View file @
42a6ee6f
...
@@ -158,13 +158,15 @@ namespace dlib
...
@@ -158,13 +158,15 @@ namespace dlib
}
}
}
}
long
get_num_
nonnegative_dimension
s
(
long
get_num_
edge_weight
s
(
)
const
)
const
/*!
/*!
ensures
ensures
- returns the number of dimensions of the solution vector which
- returns the dimensionality of the edge weight vector. It is also
are required to be non-negative. This is equal to the number of
important to know that when using the oca solver with this object,
dimensions for a feature vector on a graph edge.
you must set it to generate non-negative weights for the edge weight
part of the total weight vector. You can do this by passing get_num_edge_weights()
to the third argument to oca::operator().
!*/
!*/
{
{
return
edge_dims
;
return
edge_dims
;
...
...
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