我试着写代码
tf.reset_default_graph()
session =tf.InteractiveSession()
但我错了
AttributeError: module 'tensorflow' has no attribute 'reset_default_graph'
已经试过了
from tensorflow.python.framework import ops
ops.reset_default_graph()
tf.reset_default_graph()
session =tf.InteractiveSession()
目前没有回答
相关问题 更多 >
编程相关推荐