报错:SystemError: <built-in method __contains__ of dict object at 0x00000244E83DAFC0> returned a result with an error set
代码如下:请帮忙看看是哪里的问题,谢谢
试下这个:
修改
tf.GradientTape()
为
tf.gradients
参考:
https://github.com/IBM/tensorflow-large-model-support/issues/39
你写错了
import tensorflow as tf
print(tf.__version__)