[英]How to understand a theano tensor as a matrix and a keras.backend variable?
如果我将Keras与theano一起使用,在这种情况下A和B有什么区别?
from keras import backend as K
import theano
A = theano.tensor.matrix()
B = K.zeros(shape = (d1, d2, d3, d4))
其中d1-d4是尺寸,例如(1,4,14,14)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.