0
將基於Theano的Keras模型定義轉換爲TensorFlow時,是否足以在輸入圖層上更改input_shape
的順序?將基於Theano的Keras模型定義轉換爲TensorFlow
例如,下面層
Convolution2D(32, 3, 3, input_shape=(3, img_width, img_height))
將被替換爲
Convolution2D(32, 3, 3, input_shape=(img_width, img_height, 3))
注:我不想用dim_ordering='th'
。從Francois Chollet