我已经看到转置和重塑在一起可以帮助但我不知道如何使用.
例如.dimshuffle(0,'x')
通过使用转置和重塑它的等价物是什么?或者,还有更好的方法?谢谢.
我想知道是否有任何相当于
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)
Run Code Online (Sandbox Code Playgroud)
在TensorFlow中