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
82230b59
Commit
82230b59
authored
Dec 03, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed some things
parent
8a7fb193
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
assignment_function.h
dlib/svm/assignment_function.h
+5
-5
structural_assignment_trainer.h
dlib/svm/structural_assignment_trainer.h
+3
-3
structural_svm_assignment_problem.h
dlib/svm/structural_svm_assignment_problem.h
+3
-3
No files found.
dlib/svm/assignment_function.h
View file @
82230b59
...
...
@@ -20,11 +20,11 @@ namespace dlib
{
public
:
typedef
typename
feature_extractor
::
lhs_
type
lhs_type
;
typedef
typename
feature_extractor
::
rhs_
type
rhs_type
;
typedef
typename
feature_extractor
::
lhs_
element
lhs_element
;
typedef
typename
feature_extractor
::
rhs_
element
rhs_element
;
typedef
std
::
pair
<
std
::
vector
<
lhs_
type
>
,
std
::
vector
<
rhs_type
>
>
sample_type
;
typedef
std
::
pair
<
std
::
vector
<
lhs_
element
>
,
std
::
vector
<
rhs_element
>
>
sample_type
;
typedef
std
::
vector
<
long
>
label_type
;
typedef
label_type
result_type
;
...
...
@@ -100,8 +100,8 @@ namespace dlib
)
const
{
return
force_assignment
;
}
result_type
operator
()(
const
std
::
vector
<
lhs_
type
>&
lhs
,
const
std
::
vector
<
rhs_
type
>&
rhs
const
std
::
vector
<
lhs_
element
>&
lhs
,
const
std
::
vector
<
rhs_
element
>&
rhs
)
const
/*!
ensures
...
...
dlib/svm/structural_assignment_trainer.h
View file @
82230b59
...
...
@@ -20,10 +20,10 @@ namespace dlib
class
structural_assignment_trainer
{
public
:
typedef
typename
feature_extractor
::
lhs_
type
lhs_type
;
typedef
typename
feature_extractor
::
rhs_
type
rhs_type
;
typedef
typename
feature_extractor
::
lhs_
element
lhs_element
;
typedef
typename
feature_extractor
::
rhs_
element
rhs_element
;
typedef
std
::
pair
<
std
::
vector
<
lhs_
type
>
,
std
::
vector
<
rhs_type
>
>
sample_type
;
typedef
std
::
pair
<
std
::
vector
<
lhs_
element
>
,
std
::
vector
<
rhs_element
>
>
sample_type
;
typedef
std
::
vector
<
long
>
label_type
;
...
...
dlib/svm/structural_svm_assignment_problem.h
View file @
82230b59
...
...
@@ -25,11 +25,11 @@ namespace dlib
typedef
matrix
<
double
,
0
,
1
>
matrix_type
;
typedef
typename
feature_extractor
::
feature_vector_type
feature_vector_type
;
typedef
typename
feature_extractor
::
lhs_
type
lhs_type
;
typedef
typename
feature_extractor
::
rhs_
type
rhs_type
;
typedef
typename
feature_extractor
::
lhs_
element
lhs_element
;
typedef
typename
feature_extractor
::
rhs_
element
rhs_element
;
typedef
std
::
pair
<
std
::
vector
<
lhs_
type
>
,
std
::
vector
<
rhs_type
>
>
sample_type
;
typedef
std
::
pair
<
std
::
vector
<
lhs_
element
>
,
std
::
vector
<
rhs_element
>
>
sample_type
;
typedef
std
::
vector
<
long
>
label_type
;
...
...
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