{"action":"created","issue":{"url":"https://api.github.com/repos/MikeInnes/Flux.jl/issues/47","repository_url":"https://api.github.com/repos/MikeInnes/Flux.jl","labels_url":"https://api.github.com/repos/MikeInnes/Flux.jl/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/MikeInnes/Flux.jl/issues/47/comments","events_url":"https://api.github.com/repos/MikeInnes/Flux.jl/issues/47/events","html_url":"https://github.com/MikeInnes/Flux.jl/issues/47","id":237616822,"number":47,"title":"UndefVarError: stack not defined with Tensorflow","user":{"login":"peterjdolan","id":9718,"avatar_url":"https://avatars3.githubusercontent.com/u/9718?v=3","gravatar_id":"","url":"https://api.github.com/users/peterjdolan","html_url":"https://github.com/peterjdolan","followers_url":"https://api.github.com/users/peterjdolan/followers","following_url":"https://api.github.com/users/peterjdolan/following{/other_user}","gists_url":"https://api.github.com/users/peterjdolan/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjdolan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjdolan/subscriptions","organizations_url":"https://api.github.com/users/peterjdolan/orgs","repos_url":"https://api.github.com/users/peterjdolan/repos","events_url":"https://api.github.com/users/peterjdolan/events{/privacy}","received_events_url":"https://api.github.com/users/peterjdolan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-21T17:59:09Z","updated_at":"2017-06-21T20:31:17Z","closed_at":null,"body":"I'm getting the following error, code and versions to follow:\r\n\r\n```\r\nUndefVarError: stack not defined\r\n\r\n in graph(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.Split, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:42\r\n in interp(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.Split, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:58\r\n in imap(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.Split, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/compiler/interp.jl:26\r\n in (::DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in ilambda(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.Split, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in iline(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.Split, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in interpv(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:42\r\n in graph(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Input{1}, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:41\r\n in interp(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Input{1}, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:58\r\n in imap(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Input{1}, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/compiler/interp.jl:26\r\n in (::DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in ilambda(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Input{1}, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in iline(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Input{1}, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in interpv(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:42\r\n in interp(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Affine, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:60\r\n in imap(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Affine, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/compiler/interp.jl:26\r\n in (::DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in ilambda(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Affine, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in iline(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Affine, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in interpv(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:42\r\n in graph(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:41\r\n in interp(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:58\r\n in imap(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/compiler/interp.jl:26\r\n in (::DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in ilambda(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in iline(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in interpv(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:42\r\n in interp(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Affine, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:60\r\n in imap(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Affine, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/compiler/interp.jl:26\r\n in (::DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in ilambda(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Affine, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in iline(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Affine, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in interpv(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:42\r\n in graph(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:41\r\n in interp(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:58\r\n in imap(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/compiler/interp.jl:26\r\n in (::DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in ilambda(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in iline(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in interpv(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:42\r\n in interp(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Affine, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:60\r\n in imap(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Affine, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/compiler/interp.jl:26\r\n in (::DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in ilambda(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Affine, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in iline(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Affine, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in interpv(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:42\r\n in graph(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:41\r\n in interp(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:58\r\n in imap(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/compiler/interp.jl:26\r\n in (::DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in ilambda(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in iline(::Function, ::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Function, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:80\r\n in (::DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}})(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Vararg{Any,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:12\r\n in interpv(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:42\r\n in interpret(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.IVertex{Any}, ::DataFlow.IVertex{Any}, ::Vararg{IVertex,N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:49\r\n in interpret(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::DataFlow.IVertex{Any}, ::TensorFlow.Tensor{Float32}, ::Vararg{TensorFlow.Tensor{Float32},N}) at /home/peter/.julia/v0.5/DataFlow/src/interpreter.jl:52\r\n in interp(::DataFlow.Interpreter.Context{DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#iline,DataFlow.Interpreter.##1#2{DataFlow.Interpreter.#ilambda,DataFlow.Interpreter.##1#2{Flux.#imap,Flux.TF.#interp}}}}, ::Flux.Chain, ::DataFlow.IVertex{Any}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:60\r\n in tograph(::Flux.Chain, ::TensorFlow.Tensor{Float32}, ::Vararg{TensorFlow.Tensor{Float32},N}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/graph.jl:66\r\n in #makesession#3(::TensorFlow.Session, ::Function, ::Flux.Chain, ::Array{TensorFlow.Tensor{Float32},1}) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/model.jl:11\r\n in (::Flux.TF.#kw##makesession)(::Array{Any,1}, ::Flux.TF.#makesession, ::Flux.Chain, ::Array{TensorFlow.Tensor{Float32},1}) at ./<missing>:0\r\n in #makesession#4(::TensorFlow.Session, ::Function, ::Flux.Chain, ::Int64) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/model.jl:17\r\n in tf(::Flux.Chain) at /home/peter/.julia/v0.5/Flux/src/backend/tensorflow/model.jl:20\r\n in tf(::Flux.Chain, ::Vararg{Flux.Chain,N}) at /home/peter/.julia/v0.5/Flux/src/backend/backend.jl:10\r\n```\r\n\r\nAfter executing this code:\r\n\r\n```\r\nusing Flux, MNIST\r\nusing Flux: accuracy\r\n\r\ndata = [(trainfeatures(i), onehot(trainlabel(i), 0:9)) for i = 1:60_000]\r\ntrain = data[1:50_000]\r\ntest = data[50_001:60_000]\r\n\r\nm = Flux.Chain(\r\n  Input(784),\r\n  Affine(128), relu,\r\n  Affine( 64), relu,\r\n  Affine( 10), softmax)\r\n\r\nmodel = Flux.tf(m) # Convert to TensorFlow\r\n```\r\n\r\nThis is using Julia 0.5.2, Flux 0.2.1, and TensorFlow 0.6.3"},"comment":{"url":"https://api.github.com/repos/MikeInnes/Flux.jl/issues/comments/310196247","html_url":"https://github.com/MikeInnes/Flux.jl/issues/47#issuecomment-310196247","issue_url":"https://api.github.com/repos/MikeInnes/Flux.jl/issues/47","id":310196247,"user":{"login":"peterjdolan","id":9718,"avatar_url":"https://avatars3.githubusercontent.com/u/9718?v=3","gravatar_id":"","url":"https://api.github.com/users/peterjdolan","html_url":"https://github.com/peterjdolan","followers_url":"https://api.github.com/users/peterjdolan/followers","following_url":"https://api.github.com/users/peterjdolan/following{/other_user}","gists_url":"https://api.github.com/users/peterjdolan/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjdolan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjdolan/subscriptions","organizations_url":"https://api.github.com/users/peterjdolan/orgs","repos_url":"https://api.github.com/users/peterjdolan/repos","events_url":"https://api.github.com/users/peterjdolan/events{/privacy}","received_events_url":"https://api.github.com/users/peterjdolan/received_events","type":"User","site_admin":false},"created_at":"2017-06-21T20:31:17Z","updated_at":"2017-06-21T20:31:17Z","body":"Oh, I just realized I was following instructions for Julia 0.6, not 0.5. I'll try again and close this issue if it works."}}
{"actor":{"display_login":"peterjdolan"}}