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
e862412f
Commit
e862412f
authored
May 01, 2019
by
Shucai Xiao
Browse files
clang format
parent
1222d174
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
src/include/migraphx/op/quant_convolution.hpp
src/include/migraphx/op/quant_convolution.hpp
+2
-2
src/targets/cpu/lowering.cpp
src/targets/cpu/lowering.cpp
+4
-4
src/targets/gpu/include/migraphx/gpu/miopen.hpp
src/targets/gpu/include/migraphx/gpu/miopen.hpp
+1
-1
No files found.
src/include/migraphx/op/quant_convolution.hpp
View file @
e862412f
...
...
@@ -45,7 +45,7 @@ struct quant_convolution
const
shape
&
weights
=
inputs
.
at
(
1
);
auto
t
=
input
.
type
();
if
(
t
!=
shape
::
int8_type
)
if
(
t
!=
shape
::
int8_type
)
{
MIGRAPHX_THROW
(
"QUANT_THROW: only accept input of type int8_t"
);
}
...
...
src/targets/cpu/lowering.cpp
View file @
e862412f
src/targets/gpu/include/migraphx/gpu/miopen.hpp
View file @
e862412f
...
...
@@ -57,7 +57,7 @@ inline tensor_descriptor make_tensor(const migraphx::shape& s)
return
t
;
}
template
<
class
T
>
template
<
class
T
>
inline
convolution_descriptor
make_conv
(
const
T
&
op
)
{
auto
c
=
make_obj
<
convolution_descriptor
>
(
&
miopenCreateConvolutionDescriptor
);
...
...
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