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
6eae1119
Commit
6eae1119
authored
May 12, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A minor change to avoid a compiler warning
parent
736d662a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
sequence_segmenter.h
dlib/svm/sequence_segmenter.h
+4
-0
No files found.
dlib/svm/sequence_segmenter.h
View file @
6eae1119
...
...
@@ -188,6 +188,7 @@ namespace dlib
sequence_segmenter
()
{
#ifdef ENABLE_ASSERTS
const
feature_extractor
&
fe
=
labeler
.
get_feature_extractor
().
fe
;
DLIB_ASSERT
(
fe
.
window_size
()
>=
1
&&
fe
.
num_features
()
>=
1
,
"
\t
sequence_segmenter::sequence_segmenter()"
...
...
@@ -196,6 +197,7 @@ namespace dlib
<<
"
\n\t
fe.num_features(): "
<<
fe
.
num_features
()
<<
"
\n\t
this: "
<<
this
);
#endif
}
explicit
sequence_segmenter
(
...
...
@@ -203,6 +205,7 @@ namespace dlib
)
:
labeler
(
weights
)
{
#ifdef ENABLE_ASSERTS
const
feature_extractor
&
fe
=
labeler
.
get_feature_extractor
().
fe
;
// make sure requires clause is not broken
DLIB_ASSERT
(
total_feature_vector_size
(
fe
)
==
(
unsigned
long
)
weights
.
size
(),
...
...
@@ -219,6 +222,7 @@ namespace dlib
<<
"
\n\t
fe.num_features(): "
<<
fe
.
num_features
()
<<
"
\n\t
this: "
<<
this
);
#endif
}
sequence_segmenter
(
...
...
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