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
6177e85e
"docs/en_US/Release.md" did not exist on "2ffddd533dadfa49252032e1d011a7fd90c4953c"
Commit
6177e85e
authored
Nov 09, 2018
by
Khalique
Browse files
formatting
parent
2f65d247
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
src/include/migraph/operators.hpp
src/include/migraph/operators.hpp
+2
-2
src/targets/cpu/lowering.cpp
src/targets/cpu/lowering.cpp
+4
-5
No files found.
src/include/migraph/operators.hpp
View file @
6177e85e
src/targets/cpu/lowering.cpp
View file @
6177e85e
...
@@ -111,7 +111,7 @@ struct cpu_lrn
...
@@ -111,7 +111,7 @@ struct cpu_lrn
auto
alphaoverarea
=
op
.
alpha
/
op
.
size
;
auto
alphaoverarea
=
op
.
alpha
/
op
.
size
;
auto
radius
=
(
op
.
size
-
1
)
/
2
;
auto
radius
=
(
op
.
size
-
1
)
/
2
;
dfor
(
n_batch
,
height
,
width
)([
&
](
int
b
,
int
h
,
int
w
){
dfor
(
n_batch
,
height
,
width
)([
&
](
int
b
,
int
h
,
int
w
)
{
double
scale
=
0
;
double
scale
=
0
;
dfor
(
channels
)([
&
](
int
c
)
{
dfor
(
channels
)([
&
](
int
c
)
{
auto
start
=
(
c
-
radius
)
<
0
?
0
:
(
c
-
radius
);
auto
start
=
(
c
-
radius
)
<
0
?
0
:
(
c
-
radius
);
...
@@ -131,7 +131,6 @@ struct cpu_lrn
...
@@ -131,7 +131,6 @@ struct cpu_lrn
});
});
return
result
;
return
result
;
}
}
};
};
struct
cpu_convolution
struct
cpu_convolution
...
...
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