Theano.function equivalent in Tensorflow
I am wondering if there is any equivalent to theano.function(inputs=[x,y], # list of input variables outputs=..., # what values to be returned updates=..., # “state” values to be modified givens=..., # substitutions to the graph) in TensorFlow The run method on the tf.Session class is quite close to theano.function . Its fetches and feed_dict arguments are moral equivalents of outputs and givens . Theano's function returns an object that acts like a Python function and executes the computational graph when called. In TensorFlow, you execute computational graph using session's run method. If