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
e944ea4f
Commit
e944ea4f
authored
Apr 07, 2022
by
Adrià Arrufat
Committed by
Davis E. King
Apr 12, 2022
Browse files
Update dot visitor
parent
18fe54b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
dlib/dnn/visitors.h
dlib/dnn/visitors.h
+11
-1
No files found.
dlib/dnn/visitors.h
View file @
e944ea4f
...
...
@@ -805,9 +805,10 @@ namespace dlib
}
template
<
typename
U
,
typename
E
>
void
operator
()(
size_t
i
,
const
add_layer
<
leaky_relu_
,
U
,
E
>&
)
void
operator
()(
size_t
i
,
const
add_layer
<
leaky_relu_
,
U
,
E
>&
l
)
{
start_node
(
i
,
"leaky_relu"
);
out
<<
" | { alpha |{"
<<
l
.
layer_details
().
get_alpha
()
<<
"}}"
;
end_node
();
update
(
i
);
}
...
...
@@ -860,6 +861,15 @@ namespace dlib
update
(
i
);
}
template
<
typename
U
,
typename
E
>
void
operator
()(
size_t
i
,
const
add_layer
<
smelu_
,
U
,
E
>&
l
)
{
start_node
(
i
,
"smelu"
);
out
<<
" | { beta |{"
<<
l
.
layer_details
().
get_beta
()
<<
"}}"
;
end_node
();
update
(
i
);
}
template
<
typename
U
,
typename
E
>
void
operator
()(
size_t
i
,
const
add_layer
<
softmax_
,
U
,
E
>&
)
{
...
...
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