mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Update dot visitor
This commit is contained in:
parent
18fe54b64a
commit
e944ea4fcb
@ -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>&)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user