From ec1950b466be6f443c6006ac615c2c3ec53fa650 Mon Sep 17 00:00:00 2001 From: Mike J Innes Date: Sun, 30 Oct 2016 10:54:55 +0000 Subject: [PATCH] .* in tf --- src/backend/tensorflow/graph.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/tensorflow/graph.jl b/src/backend/tensorflow/graph.jl index e35e1cbe..f2d1b13b 100644 --- a/src/backend/tensorflow/graph.jl +++ b/src/backend/tensorflow/graph.jl @@ -9,6 +9,7 @@ cvalue(v::Vertex) = cvalue(value(v)) graph(x::Tensor) = x graph(::typeof(*), args...) = *(args...) +graph(::typeof(.*), args...) = .*(args...) graph(::typeof(+), args...) = +(args...) graph(::typeof(softmax), x) = nn.softmax(x) graph(::typeof(relu), x) = nn.relu(x)