https://blog.csdn.net/wang2008start/article/details/71516198
问题一:TypeError: Expected int32, got list containing Tensors of type ‘_Message’ instead.
tensorflow 函数tf.cocat([fw,bw],2)出错:
Expected int32, got list containing Tensors of type ‘_Message’ inst
查看原因是11版本的函数形式为:tf.concat(2,[fw,bw]),即应把串联的维度与串联值位置调换即可.
https://blog.csdn.net/zcf1784266476/article/details/71248799
tensorflow版本的问题:
tensorflow1.0及以后api定义:(数字在后,tensors在前)
tf.stack(tensors, axis=axis)