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
b027d637
Commit
b027d637
authored
Nov 16, 2018
by
Khalique
Browse files
formatting
parent
8407200f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/targets/gpu/abs.cpp
src/targets/gpu/abs.cpp
+2
-2
src/targets/gpu/sigmoid.cpp
src/targets/gpu/sigmoid.cpp
+2
-2
No files found.
src/targets/gpu/abs.cpp
View file @
b027d637
...
@@ -15,8 +15,8 @@ shape miopen_abs::compute_shape(const std::vector<shape>& inputs) const
...
@@ -15,8 +15,8 @@ shape miopen_abs::compute_shape(const std::vector<shape>& inputs) const
}
}
argument
miopen_abs
::
compute
(
context
&
ctx
,
argument
miopen_abs
::
compute
(
context
&
ctx
,
const
shape
&
output_shape
,
const
shape
&
output_shape
,
const
std
::
vector
<
argument
>&
args
)
const
const
std
::
vector
<
argument
>&
args
)
const
{
{
float
alpha
=
1
,
beta
=
0
;
float
alpha
=
1
,
beta
=
0
;
auto
x_desc
=
make_tensor
(
args
[
0
].
get_shape
());
auto
x_desc
=
make_tensor
(
args
[
0
].
get_shape
());
...
...
src/targets/gpu/sigmoid.cpp
View file @
b027d637
...
@@ -15,8 +15,8 @@ shape miopen_sigmoid::compute_shape(const std::vector<shape>& inputs) const
...
@@ -15,8 +15,8 @@ shape miopen_sigmoid::compute_shape(const std::vector<shape>& inputs) const
}
}
argument
miopen_sigmoid
::
compute
(
context
&
ctx
,
argument
miopen_sigmoid
::
compute
(
context
&
ctx
,
const
shape
&
output_shape
,
const
shape
&
output_shape
,
const
std
::
vector
<
argument
>&
args
)
const
const
std
::
vector
<
argument
>&
args
)
const
{
{
float
alpha
=
1
,
beta
=
0
;
float
alpha
=
1
,
beta
=
0
;
auto
x_desc
=
make_tensor
(
args
[
0
].
get_shape
());
auto
x_desc
=
make_tensor
(
args
[
0
].
get_shape
());
...
...
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