1. 程式人生 > >調用tensorflow中的concat方法時Expected int32, got list containing Tensors of type '_Message' instead.

調用tensorflow中的concat方法時Expected int32, got list containing Tensors of type '_Message' instead.

lin list 代碼 con comm decode tmp class got

grid = tf.concat(0, [x_t_flat, y_t_flat, ones])#報錯語句 grid = tf.concat( [x_t_flat, y_t_flat, ones],0) #樓主改後的代碼 將數字放在後面,如果有三個參數 decoder_inputs = tf.concat([go_inputs, decoder_inputs_tmp], 1,name="dec_in")

調用tensorflow中的concat方法時Expected int32, got list containing Tensors of type '_Message' instead.