提交 2c553e4f 编写于 作者: D dongzhihong

"fix clang format error"

上级 cf924728
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
limitations under the License. */ limitations under the License. */
#define EIGEN_USE_GPU #define EIGEN_USE_GPU
#include "paddle/operators/fill_zeros_like_op.h"
#include "paddle/framework/op_registry.h" #include "paddle/framework/op_registry.h"
#include "paddle/operators/fill_zeros_like_op.h"
namespace ops = paddle::operators; namespace ops = paddle::operators;
REGISTER_OP_GPU_KERNEL( REGISTER_OP_GPU_KERNEL(
......
...@@ -1406,7 +1406,7 @@ def inputs(layers, *args): ...@@ -1406,7 +1406,7 @@ def inputs(layers, *args):
if len(args) != 0: if len(args) != 0:
layers.extend(args) layers.extend(args)
Inputs(*[l.name for l in layers]) Inputs(* [l.name for l in layers])
def outputs(layers, *args): def outputs(layers, *args):
...@@ -1456,7 +1456,7 @@ def outputs(layers, *args): ...@@ -1456,7 +1456,7 @@ def outputs(layers, *args):
assert len(layers) > 0 assert len(layers) > 0
if HasInputsSet(): # input already set if HasInputsSet(): # input already set
Outputs(*[l.name for l in layers]) Outputs(* [l.name for l in layers])
return # just return outputs. return # just return outputs.
if len(layers) != 1: if len(layers) != 1:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册