调用tensorflow中的concat方法时Expected int32, got list containing Tensors of type '_Message' instead.
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")