TypeError: Expected int32, got list containing Tensors of type '_Message' instead.

来源:互联网 发布:乐乎青年公寓官网 编辑:程序博客网 时间:2024/06/05 15:07

TypeError: Expected int32, got list containing Tensors of type '_Message' instead.

1. TypeError: Expected int32, got list containing Tensors of type '_Message' instead.

        TensorFlow 版本不同,使用函数接口修改导致的问题。
API r1.3

tf.concat

concat(    values,    axis,    name='concat')

http://blog.csdn.net/chengyq116/article/details/78540032


API r0.12

tf.concat

tf.concat(concat_dim, values, name='concat')

http://blog.csdn.net/chengyq116/article/details/78544443

阅读全文
0 0