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
f584e787
Commit
f584e787
authored
May 16, 2019
by
Adrià Arrufat
Committed by
Davis E. King
May 16, 2019
Browse files
Even more warning silencing (#1766)
These warnings occurred when building the semantic segmentation examples
parent
f3f1a826
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
dlib/dnn/layers.h
dlib/dnn/layers.h
+6
-6
dlib/dnn/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