From 18b078d29e80942695bb70f6b3a3dada48e6e2f6 Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Sat, 16 Nov 2019 13:23:09 -0600 Subject: [PATCH] reset_default_graph --- src/TensorFlowNET.Core/APIs/tf.graph.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/TensorFlowNET.Core/APIs/tf.graph.cs b/src/TensorFlowNET.Core/APIs/tf.graph.cs index 1648cb70..a28c007a 100644 --- a/src/TensorFlowNET.Core/APIs/tf.graph.cs +++ b/src/TensorFlowNET.Core/APIs/tf.graph.cs @@ -24,6 +24,9 @@ namespace Tensorflow public GraphKeys GraphKeys { get; } = new GraphKeys(); + public void reset_default_graph() + => ops.reset_default_graph(); + public Graph get_default_graph() { return ops.get_default_graph();