Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
e130fd9c
Commit
e130fd9c
authored
Apr 30, 2019
by
Khalique
Browse files
remove assert
parent
9f3166cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/targets/gpu/clip.cpp
src/targets/gpu/clip.cpp
+1
-3
No files found.
src/targets/gpu/clip.cpp
View file @
e130fd9c
...
@@ -13,10 +13,8 @@ shape hip_clip::compute_shape(std::vector<shape> inputs) const
...
@@ -13,10 +13,8 @@ shape hip_clip::compute_shape(std::vector<shape> inputs) const
}
}
argument
argument
hip_clip
::
compute
(
context
&
ctx
,
const
shape
&
output_shape
,
const
std
::
vector
<
argument
>&
args
)
const
hip_clip
::
compute
(
context
&
ctx
,
const
shape
&
,
const
std
::
vector
<
argument
>&
args
)
const
{
{
assert
(
output_shape
==
args
.
back
().
get_shape
());
(
void
)
output_shape
;
device
::
clip
(
ctx
.
get_stream
().
get
(),
args
.
back
(),
args
.
front
(),
op
.
max_val
,
op
.
min_val
);
device
::
clip
(
ctx
.
get_stream
().
get
(),
args
.
back
(),
args
.
front
(),
op
.
max_val
,
op
.
min_val
);
return
args
.
back
();
return
args
.
back
();
}
}
...
...
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