[英]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.