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
e32ddfee
Commit
e32ddfee
authored
Aug 30, 2018
by
Paul
Browse files
Formatting
parent
8724a471
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/shape.cpp
src/shape.cpp
+5
-5
No files found.
src/shape.cpp
View file @
e32ddfee
...
@@ -119,7 +119,7 @@ std::size_t shape::index(std::size_t i) const
...
@@ -119,7 +119,7 @@ std::size_t shape::index(std::size_t i) const
{
{
std
::
size_t
s
=
1
;
std
::
size_t
s
=
1
;
std
::
size_t
result
=
0
;
std
::
size_t
result
=
0
;
for
(
std
::
size_t
j
=
0
;
j
<
this
->
lens
().
size
();
j
++
)
for
(
std
::
size_t
j
=
0
;
j
<
this
->
lens
().
size
();
j
++
)
{
{
const
std
::
size_t
k
=
this
->
lens
().
size
()
-
j
-
1
;
const
std
::
size_t
k
=
this
->
lens
().
size
()
-
j
-
1
;
const
std
::
size_t
stride
=
this
->
strides
()[
k
];
const
std
::
size_t
stride
=
this
->
strides
()[
k
];
...
...
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