Adapt TensorFlowTestCase.setUp() to new reset_default_graph() semantics
Avoid calling reset_default_graph() directly to prevent exceptions in cases where test methods error out from within nested graph contexts, which can leave _default_graph_stack non-empty in certain Python versions.
Loading
Please sign in to comment