From 96c0e76b926e3fe0494f55d0dfcdc66e32f54ea3 Mon Sep 17 00:00:00 2001 From: Mike J Innes Date: Tue, 21 Feb 2017 08:50:54 +0000 Subject: [PATCH] style --- src/backend/mxnet/graph.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/mxnet/graph.jl b/src/backend/mxnet/graph.jl index 09dff296..c71b0be2 100644 --- a/src/backend/mxnet/graph.jl +++ b/src/backend/mxnet/graph.jl @@ -20,8 +20,8 @@ node(x::mx.SymbolicNode) = x graph(::typeof(tuple), args...) = (args...,) graph(::typeof(+), args...) = mx.broadcast_plus(args...) graph(::typeof(σ), x) = mx.Activation(data = x, act_type = :sigmoid) -graph(::typeof(relu), x) = mx.Activation(data = x, act_type=:relu) -graph(::typeof(tanh), x) = mx.Activation(data = x, act_type=:tanh) +graph(::typeof(relu), x) = mx.Activation(data = x, act_type = :relu) +graph(::typeof(tanh), x) = mx.Activation(data = x, act_type = :tanh) graph(::typeof(flatten), x) = mx.Flatten(data = x) graph(::typeof(softmax), xs) =