根据其他 StackOverFlow 问题,您无法更改 ,但是当我执行此操作时,它运行良好:tf.constant
>>>c = tf.constant([2])
>>>c += 1
>>>print(c)
[3]
为什么?
慕婉清6462132
九州编程
相关分类