From c7e99fc4a503c29a8709269611cefdb9f86ff7c7 Mon Sep 17 00:00:00 2001 From: Roman Grundkiewicz Date: Sat, 28 Oct 2017 17:02:26 +0000 Subject: Autoformat --- src/graph/node_operators_unary.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/graph/node_operators_unary.h') diff --git a/src/graph/node_operators_unary.h b/src/graph/node_operators_unary.h index f42b7eed..7455d7f5 100644 --- a/src/graph/node_operators_unary.h +++ b/src/graph/node_operators_unary.h @@ -237,8 +237,11 @@ struct SwishNodeOp : public UnaryNodeOp { } NodeOps backwardOps() { - return {NodeOp( - Add(_1 * (_3 + Sigma(_2) * (1.f - _3)), child(0)->grad(), adj_, child(0)->val(), val_))}; + return {NodeOp(Add(_1 * (_3 + Sigma(_2) * (1.f - _3)), + child(0)->grad(), + adj_, + child(0)->val(), + val_))}; } const std::string type() { return "swish"; } -- cgit v1.2.3