Basic usage

using TensorFlow

sess = Session()

x = constant(Float64[1,2])
y = Variable(Float64[3,4])
z = placeholder(Float64)

w = exp(x + z + -y)

run(sess, initialize_all_variables())
res = run(sess, w, Dict(z=>Float64[1,2]))
@test res[1]  exp(-1)