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
af29fc68
"include/ck/utility/amd_inline_asm.hpp" did not exist on "6a3f3f951d8a4b8acfe8344e87fe7802e758931a"
Commit
af29fc68
authored
May 24, 2019
by
Paul
Browse files
Fix parse mean
parent
4ae58245
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/tf/tf.cpp
src/tf/tf.cpp
+1
-1
No files found.
src/tf/tf.cpp
View file @
af29fc68
...
@@ -446,7 +446,7 @@ struct tf_parser
...
@@ -446,7 +446,7 @@ struct tf_parser
{
{
auto
axes
=
args
[
1
]
->
eval
().
get
<
int32_t
>
().
to_vector
();
auto
axes
=
args
[
1
]
->
eval
().
get
<
int32_t
>
().
to_vector
();
bool
keep_dims
=
attributes
.
at
(
"keep_dims"
).
b
();
bool
keep_dims
=
attributes
.
at
(
"keep_dims"
).
b
();
std
::
vector
<
int32_t
>
hw_axes
{
2
,
3
};
std
::
vector
<
int32_t
>
hw_axes
{
1
,
2
};
// check if conditions for GlobalAvgPool are met
// check if conditions for GlobalAvgPool are met
auto
lens
=
args
[
0
]
->
get_shape
().
lens
();
auto
lens
=
args
[
0
]
->
get_shape
().
lens
();
if
(
axes
==
hw_axes
and
lens
.
size
()
==
4
)
if
(
axes
==
hw_axes
and
lens
.
size
()
==
4
)
...
...
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