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
ff009f50
Commit
ff009f50
authored
Feb 27, 2019
by
Khalique
Browse files
clarified reorder_data use
parent
395ccd2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/tf/tf.cpp
src/tf/tf.cpp
+3
-0
No files found.
src/tf/tf.cpp
View file @
ff009f50
...
...
@@ -50,6 +50,9 @@ struct tf_parser
return
axes
;
}
// tf stores certain attributes such as strides, dilations, as a 4D input.
// The first and last dims are equal to 1, and the relevant data is in dims 2 and 3.
// This helper function reorders the data to store for the respective operator member variables.
template
<
class
T
>
void
reorder_data
(
std
::
vector
<
T
>&
prev_data
)
const
{
...
...
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