1
フェッチする記号変数がいくつかあることから、どのプレースホルダが依存関係であるかを知る必要があります。 TheanoでTensorFlowのプレースホルダ依存関係を判断する方法
、我々は持っている:TensorFlowで同じことを行う方法
import theano as th
import theano.tensor as T
x, y, z = T.scalars('xyz')
u, v = x*y, y*z
w = u + v
th.gof.graph.inputs([w]) # gives [x, y, z]
th.gof.graph.inputs([u]) # gives [x, y]
th.gof.graph.inputs([v]) # gives [y, z]
th.gof.graph.inputs([u, v]) # gives [x, y, z]
?
この再帰は、グラフのような "フィボナッチ"ではおそらく効率的ではありませんが、実際には良い出発点です。 – Kh40tiK