module ‘tensorflow’ has no attribute ‘reset_default_graph’_
module ‘tensorflow’ has no attribute ‘reset_default_graph’_问题描述:我的代码是这样的import tensorflow as tftf.reset_default_graph()with tf.Graph().as_default() as graph:解决方案一1)将引用改为from tensorflow.python.framework import opsops.reset_default_graph()一般可以解决问