From 2c553e4fb68108da7618abd2b9ffbddd2f0e8f2b Mon Sep 17 00:00:00 2001 From: dongzhihong Date: Tue, 8 Aug 2017 19:15:39 +0800 Subject: [PATCH] "fix clang format error" --- paddle/operators/fill_zeros_like_op.cu | 2 +- python/paddle/trainer_config_helpers/networks.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/operators/fill_zeros_like_op.cu b/paddle/operators/fill_zeros_like_op.cu index 0f55ffa20f8..fdbcf520a0d 100644 --- a/paddle/operators/fill_zeros_like_op.cu +++ b/paddle/operators/fill_zeros_like_op.cu @@ -13,8 +13,8 @@ limitations under the License. */ #define EIGEN_USE_GPU -#include "paddle/operators/fill_zeros_like_op.h" #include "paddle/framework/op_registry.h" +#include "paddle/operators/fill_zeros_like_op.h" namespace ops = paddle::operators; REGISTER_OP_GPU_KERNEL( diff --git a/python/paddle/trainer_config_helpers/networks.py b/python/paddle/trainer_config_helpers/networks.py index 34be203ee25..28a71cf788f 100755 --- a/python/paddle/trainer_config_helpers/networks.py +++ b/python/paddle/trainer_config_helpers/networks.py @@ -1406,7 +1406,7 @@ def inputs(layers, *args): if len(args) != 0: layers.extend(args) - Inputs(*[l.name for l in layers]) + Inputs(* [l.name for l in layers]) def outputs(layers, *args): @@ -1456,7 +1456,7 @@ def outputs(layers, *args): assert len(layers) > 0 if HasInputsSet(): # input already set - Outputs(*[l.name for l in layers]) + Outputs(* [l.name for l in layers]) return # just return outputs. if len(layers) != 1: -- GitLab