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
96a75568
"git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "f0bc00c980012badea8db011f84a0e9ef33ba6c1"
Unverified
Commit
96a75568
authored
Nov 18, 2020
by
Adrià Arrufat
Committed by
GitHub
Nov 18, 2020
Browse files
fix unused parameter warning in visitor_net_to_xml (#2240)
parent
820fd353
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/dnn/utilities.h
dlib/dnn/utilities.h
+2
-2
No files found.
dlib/dnn/utilities.h
View file @
96a75568
...
@@ -64,13 +64,13 @@ namespace dlib
...
@@ -64,13 +64,13 @@ namespace dlib
}
}
template
<
unsigned
long
ID
,
typename
U
,
typename
E
>
template
<
unsigned
long
ID
,
typename
U
,
typename
E
>
void
operator
()(
size_t
idx
,
const
add_tag_layer
<
ID
,
U
,
E
>&
l
)
void
operator
()(
size_t
idx
,
const
add_tag_layer
<
ID
,
U
,
E
>&
/*l*/
)
{
{
out
<<
"<layer idx='"
<<
idx
<<
"' type='tag' id='"
<<
ID
<<
"'/>
\n
"
;
out
<<
"<layer idx='"
<<
idx
<<
"' type='tag' id='"
<<
ID
<<
"'/>
\n
"
;
}
}
template
<
template
<
typename
>
class
T
,
typename
U
>
template
<
template
<
typename
>
class
T
,
typename
U
>
void
operator
()(
size_t
idx
,
const
add_skip_layer
<
T
,
U
>&
l
)
void
operator
()(
size_t
idx
,
const
add_skip_layer
<
T
,
U
>&
/*l*/
)
{
{
out
<<
"<layer idx='"
<<
idx
<<
"' type='skip' id='"
<<
(
tag_id
<
T
>::
id
)
<<
"'/>
\n
"
;
out
<<
"<layer idx='"
<<
idx
<<
"' type='skip' id='"
<<
(
tag_id
<
T
>::
id
)
<<
"'/>
\n
"
;
}
}
...
...
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