Commit cbd244d1 authored by Khalique's avatar Khalique
Browse files

formatting

parent 5e59bf45
...@@ -17,11 +17,11 @@ inline namespace MIGRAPHX_INLINE_NS { ...@@ -17,11 +17,11 @@ inline namespace MIGRAPHX_INLINE_NS {
namespace op { namespace op {
enum padding_mode_t enum padding_mode_t
{ {
default_, // NOLINT default_, // NOLINT
same, same,
valid valid
}; };
struct not_computable struct not_computable
{ {
...@@ -217,7 +217,8 @@ struct pooling ...@@ -217,7 +217,8 @@ struct pooling
if(padding_mode == default_) if(padding_mode == default_)
{ {
return {t, return {
t,
{ {
input.lens()[0], input.lens()[0],
input.lens()[1], input.lens()[1],
......
...@@ -206,14 +206,12 @@ struct tf_parser ...@@ -206,14 +206,12 @@ struct tf_parser
{ {
op.stride[0] = stride[1]; op.stride[0] = stride[1];
op.stride[1] = stride[2]; op.stride[1] = stride[2];
} }
else else
{ {
op.stride[0] = stride[2]; op.stride[0] = stride[2];
op.stride[1] = stride[3]; op.stride[1] = stride[3];
} }
} }
if(contains(attributes, "dilations")) if(contains(attributes, "dilations"))
{ {
...@@ -233,7 +231,6 @@ struct tf_parser ...@@ -233,7 +231,6 @@ struct tf_parser
op.dilation[0] = dilation[2]; op.dilation[0] = dilation[2];
op.dilation[1] = dilation[3]; op.dilation[1] = dilation[3];
} }
} }
auto l0 = prog.add_instruction(op::transpose{{2, 3, 0, 1}}, args[1]); auto l0 = prog.add_instruction(op::transpose{{2, 3, 0, 1}}, args[1]);
...@@ -276,7 +273,6 @@ struct tf_parser ...@@ -276,7 +273,6 @@ struct tf_parser
op.stride[0] = stride[2]; op.stride[0] = stride[2];
op.stride[1] = stride[3]; op.stride[1] = stride[3];
} }
} }
if(contains(attributes, "ksize")) if(contains(attributes, "ksize"))
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment