diff --git a/src/backend/tensorflow/graph.jl b/src/backend/tensorflow/graph.jl index bc14eb31..aff4d3a9 100644 --- a/src/backend/tensorflow/graph.jl +++ b/src/backend/tensorflow/graph.jl @@ -17,7 +17,6 @@ graph(::typeof(relu), x) = nn.relu(x) graph(::typeof(σ), x) = nn.sigmoid(x) graph(::typeof(hcat), xs...) = concat(1, xs) graph(::typeof(seq), xs, n) = TensorFlow.unpack(xs, num = n, axis = 1) -graph(::typeof(+), args...) = +(args...) for op in (tanh, *, .*, +, -) @eval graph(::typeof($op), args...) = $op(node(args)...)