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
gaoqiong
MIGraphX
Commits
69102b29
Commit
69102b29
authored
Jan 23, 2019
by
Shucai Xiao
Browse files
add two more activation functions for rnn operator.
parent
cb46bbce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/onnx/onnx.cpp
src/onnx/onnx.cpp
+2
-0
No files found.
src/onnx/onnx.cpp
View file @
69102b29
...
@@ -96,6 +96,8 @@ struct onnx_parser
...
@@ -96,6 +96,8 @@ struct onnx_parser
actv_funcs
.
insert
(
std
::
make_pair
(
"tanh"
,
op
::
tanh
{}));
actv_funcs
.
insert
(
std
::
make_pair
(
"tanh"
,
op
::
tanh
{}));
actv_funcs
.
insert
(
std
::
make_pair
(
"relu"
,
op
::
relu
{}));
actv_funcs
.
insert
(
std
::
make_pair
(
"relu"
,
op
::
relu
{}));
actv_funcs
.
insert
(
std
::
make_pair
(
"sigmoid"
,
op
::
sigmoid
{}));
actv_funcs
.
insert
(
std
::
make_pair
(
"sigmoid"
,
op
::
sigmoid
{}));
actv_funcs
.
insert
(
std
::
make_pair
(
"leakyrelu"
,
op
::
leaky_relu
{}));
actv_funcs
.
insert
(
std
::
make_pair
(
"elu"
,
op
::
elu
{}));
}
}
template
<
class
F
>
template
<
class
F
>
...
...
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