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
ca170b5c
Commit
ca170b5c
authored
Apr 15, 2019
by
Shucai Xiao
Browse files
clang format
parent
610aa6a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
src/include/migraphx/op/capture.hpp
src/include/migraphx/op/capture.hpp
+3
-6
No files found.
src/include/migraphx/op/capture.hpp
View file @
ca170b5c
...
@@ -18,8 +18,8 @@ namespace op {
...
@@ -18,8 +18,8 @@ namespace op {
struct
capture
struct
capture
{
{
std
::
function
<
void
(
std
::
vector
<
argument
>
)
f
;
std
::
function
<
void
(
std
::
vector
<
argument
>
)
f
;
template
<
class
Self
,
class
F
>
template
<
class
Self
,
class
F
>
static
auto
reflect
(
Self
&
self
,
F
f
)
static
auto
reflect
(
Self
&
self
,
F
f
)
{
{
return
pack
(
f
(
self
.
f
,
"func"
));
return
pack
(
f
(
self
.
f
,
"func"
));
...
@@ -27,10 +27,7 @@ struct capture
...
@@ -27,10 +27,7 @@ struct capture
std
::
string
name
()
const
{
return
"capputure"
;
}
std
::
string
name
()
const
{
return
"capputure"
;
}
shape
compute_shape
(
std
::
vector
<
shape
>
inputs
)
const
shape
compute_shape
(
std
::
vector
<
shape
>
inputs
)
const
{
return
inputs
.
front
();
}
{
return
inputs
.
front
();
}
argument
compute
(
const
shape
&
output_shape
,
std
::
vector
<
argument
>
args
)
const
argument
compute
(
const
shape
&
output_shape
,
std
::
vector
<
argument
>
args
)
const
{
{
...
...
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