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
f584e787
Commit
f584e787
authored
May 16, 2019
by
Adrià Arrufat
Committed by
Davis E. King
May 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Even more warning silencing (#1766)
These warnings occurred when building the semantic segmentation examples
parent
f3f1a826
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
layers.h
dlib/dnn/layers.h
+6
-6
utilities.h
dlib/dnn/utilities.h
+2
-2
No files found.
dlib/dnn/layers.h
View file @
f584e787
...
...
@@ -2464,13 +2464,13 @@ namespace dlib
throw
serialization_error
(
"Unexpected version '"
+
version
+
"' found while deserializing dlib::resize_prev_to_tagged_."
);
}
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
const
resize_prev_to_tagged_
&
item
)
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
const
resize_prev_to_tagged_
&
)
{
out
<<
"resize_prev_to_tagged"
<<
id
;
return
out
;
}
friend
void
to_xml
(
const
resize_prev_to_tagged_
&
item
,
std
::
ostream
&
out
)
friend
void
to_xml
(
const
resize_prev_to_tagged_
&
,
std
::
ostream
&
out
)
{
out
<<
"<resize_prev_to_tagged tag='"
<<
id
<<
"'/>
\n
"
;
}
...
...
@@ -3127,14 +3127,14 @@ namespace dlib
const
tensor
&
get_layer_params
()
const
{
return
params
;
}
tensor
&
get_layer_params
()
{
return
params
;
}
friend
void
serialize
(
const
concat_
&
item
,
std
::
ostream
&
out
)
friend
void
serialize
(
const
concat_
&
,
std
::
ostream
&
out
)
{
serialize
(
"concat_"
,
out
);
size_t
count
=
tag_count
();
serialize
(
count
,
out
);
}
friend
void
deserialize
(
concat_
&
item
,
std
::
istream
&
in
)
friend
void
deserialize
(
concat_
&
,
std
::
istream
&
in
)
{
std
::
string
version
;
deserialize
(
version
,
in
);
...
...
@@ -3148,7 +3148,7 @@ namespace dlib
" found while deserializing dlib::concat_."
);
}
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
const
concat_
&
item
)
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
const
concat_
&
)
{
out
<<
"concat
\t
("
;
list_tags
(
out
);
...
...
@@ -3156,7 +3156,7 @@ namespace dlib
return
out
;
}
friend
void
to_xml
(
const
concat_
&
item
,
std
::
ostream
&
out
)
friend
void
to_xml
(
const
concat_
&
,
std
::
ostream
&
out
)
{
out
<<
"<concat tags='"
;
list_tags
(
out
);
...
...
dlib/dnn/utilities.h
View file @
f584e787
...
...
@@ -136,7 +136,7 @@ namespace dlib
dpoint
&
p
;
template
<
typename
input_layer_type
>
void
operator
()(
const
input_layer_type
&
net
)
void
operator
()(
const
input_layer_type
&
)
{
}
...
...
@@ -196,7 +196,7 @@ namespace dlib
dpoint
&
p
;
template
<
typename
input_layer_type
>
void
operator
()(
const
input_layer_type
&
net
)
void
operator
()(
const
input_layer_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