您的位置:首页 > 运维架构

TypeError: Input 'split_dim' of 'Split' Op has type float32 that does not match expected type of int

2017-11-15 19:19 971 查看

TypeError: Input 'split_dim' of 'Split' Op has type float32 that does not match expected type of int32.

1. TypeError: Input 'split_dim' of 'Split' Op has type float32 that does not match expected type of int32.

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

API r1.3

tf.split

split(
value,
num_or_size_splits,
axis=0,
num=None,
name='split'
)
http://blog.csdn.net/chengyq116/article/details/78504173

API r0.12

tf.split

tf.split(split_dim, num_split, value, name='split')


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


                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐