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
ed4a8ad6
Commit
ed4a8ad6
authored
Apr 04, 2022
by
Shucai Xiao
Browse files
clang format
parent
b43f4184
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/include/migraphx/shape.hpp
src/include/migraphx/shape.hpp
+1
-1
src/shape.cpp
src/shape.cpp
+4
-4
No files found.
src/include/migraphx/shape.hpp
View file @
ed4a8ad6
...
@@ -60,7 +60,7 @@ struct shape
...
@@ -60,7 +60,7 @@ struct shape
std
::
size_t
min
=
0
;
std
::
size_t
min
=
0
;
std
::
size_t
max
=
0
;
std
::
size_t
max
=
0
;
std
::
size_t
opt
=
0
;
std
::
size_t
opt
=
0
;
// is the dimension fixed
// is the dimension fixed
bool
is_fixed
()
const
;
bool
is_fixed
()
const
;
...
...
src/shape.cpp
View file @
ed4a8ad6
...
@@ -46,10 +46,10 @@ struct shape_impl
...
@@ -46,10 +46,10 @@ struct shape_impl
shape_impl
(
const
std
::
vector
<
shape
>&
subs
)
:
m_type
(
shape
::
tuple_type
),
m_shapes
(
subs
)
{}
shape_impl
(
const
std
::
vector
<
shape
>&
subs
)
:
m_type
(
shape
::
tuple_type
),
m_shapes
(
subs
)
{}
shape
::
type_t
m_type
;
shape
::
type_t
m_type
;
std
::
vector
<
std
::
size_t
>
m_lens
=
{};
std
::
vector
<
std
::
size_t
>
m_lens
=
{};
std
::
vector
<
std
::
size_t
>
m_strides
=
{};
std
::
vector
<
std
::
size_t
>
m_strides
=
{};
std
::
vector
<
shape
>
m_shapes
=
{};
std
::
vector
<
shape
>
m_shapes
=
{};
bool
m_standard
=
false
;
bool
m_standard
=
false
;
std
::
vector
<
shape
::
dynamic_dimension
>
dynamic_dims
=
{};
std
::
vector
<
shape
::
dynamic_dimension
>
dynamic_dims
=
{};
void
calculate_strides
()
void
calculate_strides
()
...
...
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