我想知道是否有任何等同于
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)
在TensorFlow中
解决方法:
tf.Session
类上的run方法与theano.function非常接近.它的fetch和Feed_dict参数是输出和给定的道德等价物.