Python: TypeError: 'int' object is not callable
在Python2.7.5下跑tensorflow代码的时候,遇到错误:
TypeError: ‘int’ object is not callable
错误原因#example1
···
round = tf.size #用round代替一个函数
···
···
round = 12 #不小心复用了round变量为int
···
···
round(A) 比较麻烦的是
翻译
2017-07-14 11:46:03 ·
6793 阅读 ·
0 评论