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
39496181
"vscode:/vscode.git/clone" did not exist on "840424a2c4eb9a18726818d427ef382dc41a7e1b"
Commit
39496181
authored
Jan 26, 2019
by
Khalique
Browse files
formatting
parent
634ea0f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/tf/tf.cpp
src/tf/tf.cpp
+4
-3
No files found.
src/tf/tf.cpp
View file @
39496181
...
...
@@ -136,9 +136,10 @@ struct tf_parser
instruction_ref
parse_batchnorm
(
const
std
::
string
&
,
attribute_map
attributes
,
std
::
vector
<
instruction_ref
>
args
)
{
float
epsilon
=
1e-4
f
;
float
momentum
=
1.
f
;
op
::
batch_norm_inference
::
bn_infer_mode_t
bn_mode
=
op
::
batch_norm_inference
::
per_activation
;
float
epsilon
=
1e-4
f
;
float
momentum
=
1.
f
;
op
::
batch_norm_inference
::
bn_infer_mode_t
bn_mode
=
op
::
batch_norm_inference
::
per_activation
;
if
(
contains
(
attributes
,
"epsilon"
))
{
epsilon
=
attributes
.
at
(
"epsilon"
).
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