将tensor转化为numpy数组利用keras.backend.eval(x)好像就可以直接实现:>>> from keras import backend as K>>> kvar = K.variable(np.array([[1, 2], [3, 4]]), ...
確定! 回上一頁