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
8fc2d251
Commit
8fc2d251
authored
May 21, 2011
by
davis@blarg-a324a5a3e.localnet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed code to avoid compiler error in visual studio.
parent
8904db50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
structural_svm_distributed.h
dlib/svm/structural_svm_distributed.h
+10
-10
No files found.
dlib/svm/structural_svm_distributed.h
View file @
8fc2d251
...
...
@@ -43,15 +43,15 @@ namespace dlib
friend
void
serialize
(
const
oracle_response
&
item
,
std
::
ostream
&
out
)
{
serialize
(
item
.
subgradient
,
out
);
serialize
(
item
.
loss
,
out
);
serialize
(
item
.
num
,
out
);
dlib
::
serialize
(
item
.
loss
,
out
);
dlib
::
serialize
(
item
.
num
,
out
);
}
friend
void
deserialize
(
oracle_response
&
item
,
std
::
istream
&
in
)
{
deserialize
(
item
.
subgradient
,
in
);
deserialize
(
item
.
loss
,
in
);
deserialize
(
item
.
num
,
in
);
d
lib
::
d
eserialize
(
item
.
loss
,
in
);
d
lib
::
d
eserialize
(
item
.
num
,
in
);
}
};
...
...
@@ -78,17 +78,17 @@ namespace dlib
friend
void
serialize
(
const
oracle_request
&
item
,
std
::
ostream
&
out
)
{
serialize
(
item
.
current_solution
,
out
);
serialize
(
item
.
cur_risk_lower_bound
,
out
);
serialize
(
item
.
eps
,
out
);
serialize
(
item
.
skip_cache
,
out
);
dlib
::
serialize
(
item
.
cur_risk_lower_bound
,
out
);
dlib
::
serialize
(
item
.
eps
,
out
);
dlib
::
serialize
(
item
.
skip_cache
,
out
);
}
friend
void
deserialize
(
oracle_request
&
item
,
std
::
istream
&
in
)
{
deserialize
(
item
.
current_solution
,
in
);
deserialize
(
item
.
cur_risk_lower_bound
,
in
);
deserialize
(
item
.
eps
,
in
);
deserialize
(
item
.
skip_cache
,
in
);
dlib
::
deserialize
(
item
.
cur_risk_lower_bound
,
in
);
d
lib
::
d
eserialize
(
item
.
eps
,
in
);
d
lib
::
d
eserialize
(
item
.
skip_cache
,
in
);
}
};
...
...
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