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
93c2acb3
Commit
93c2acb3
authored
Nov 15, 2022
by
charlie
Browse files
Simplify to s0 more
parent
04b8da98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
src/include/migraphx/op/contiguous.hpp
src/include/migraphx/op/contiguous.hpp
+1
-5
No files found.
src/include/migraphx/op/contiguous.hpp
View file @
93c2acb3
...
...
@@ -48,16 +48,12 @@ struct contiguous
{
check_shapes
{
inputs
,
*
this
,
true
}.
has
(
1
);
auto
s0
=
inputs
.
front
();
if
(
s0
.
dynamic
())
if
(
s0
.
dynamic
()
or
s0
.
standard
()
)
{
return
s0
;
}
else
{
if
(
s0
.
standard
())
{
return
inputs
.
front
();
}
auto
lens
=
s0
.
lens
();
auto
t
=
s0
.
type
();
return
{
t
,
lens
};
...
...
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