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
a7eda853
Commit
a7eda853
authored
Jun 26, 2019
by
Paul
Browse files
Remove wrong parse_axes function
parent
e22de8b4
Changes
1
Show 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 @
a7eda853
...
@@ -569,7 +569,7 @@ struct tf_parser
...
@@ -569,7 +569,7 @@ struct tf_parser
// in tf, the paddings are arranged as a 2d shape (ndims, 2),
// in tf, the paddings are arranged as a 2d shape (ndims, 2),
// the last dim contains the left padding and right padding respectively
// the last dim contains the left padding and right padding respectively
std
::
vector
<
std
::
pair
<
int32_t
,
int32_t
>>
pad_per_dim
(
ndims
);
std
::
vector
<
std
::
pair
<
int32_t
,
int32_t
>>
pad_per_dim
(
ndims
);
auto
tf_padding
=
parse_axes
(
args
[
1
]
->
eval
().
get
<
int32_t
>
().
to_vector
()
)
;
auto
tf_padding
=
args
[
1
]
->
eval
().
get
<
int32_t
>
().
to_vector
();
for
(
size_t
i
=
0
;
i
<
2
*
ndims
;
i
+=
2
)
for
(
size_t
i
=
0
;
i
<
2
*
ndims
;
i
+=
2
)
{
{
pad_per_dim
[
i
/
2
].
first
=
tf_padding
[
i
];
pad_per_dim
[
i
/
2
].
first
=
tf_padding
[
i
];
...
...
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