You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <param name="status">Status buffer, if specified a status code will be left here, if not specified, a <see cref="T:TensorFlow.TFException"/> exception is raised if there is an error.</param>
@@ -1960,6 +1966,11 @@ public TFSession (TFGraph graph, TFSessionOptions sessionOptions, TFStatus statu
1960
1966
handle=h;
1961
1967
}
1962
1968
1969
+
/// <summary>
1970
+
/// Creates a new execution session associated with the specified session graph.
1971
+
/// </summary>
1972
+
/// <param name="graph">The Graph to which this session is associated.</param>
1973
+
/// <param name="status">Status buffer, if specified a status code will be left here, if not specified, a <see cref="T:TensorFlow.TFException"/> exception is raised if there is an error.</param>
@@ -1971,6 +1982,13 @@ public TFSession (TFGraph graph, TFStatus status = null) : base (IntPtr.Zero)
1971
1982
handle=h;
1972
1983
}
1973
1984
1985
+
/// <summary>
1986
+
/// Creates a new execution session with an empty graph
1987
+
/// </summary>
1988
+
/// <param name="status">Status buffer, if specified a status code will be left here, if not specified, a <see cref="T:TensorFlow.TFException"/> exception is raised if there is an error.</param>
1989
+
/// <remarks>
1990
+
/// The created graph can be retrieved using the Graph property on the session.
/// Creates a session and graph from a saved session model
2002
+
/// </summary>
2003
+
/// <returns>On success, this populates the provided <paramref name="graph"/> with the contents of the graph stored in the specified model and <paramref name="metaGraphDef"/> with the MetaGraphDef of the loaded model.</returns>
2004
+
/// <param name="sessionOptions">Session options to use for the new session.</param>
2005
+
/// <param name="runOptions">Options to use to initialize the state (can be null).</param>
2006
+
/// <param name="exportDir">must be set to the path of the exported SavedModel.</param>
2007
+
/// <param name="tags">must include the set of tags used to identify one MetaGraphDef in the SavedModel.</param>
2008
+
/// <param name="graph">This must be a newly created graph.</param>
2009
+
/// <param name="metaGraphDef">On success, this will be populated on return with the contents of the MetaGraphDef (can be null).</param>
2010
+
/// <param name="status">Status buffer, if specified a status code will be left here, if not specified, a <see cref="T:TensorFlow.TFException"/> exception is raised if there is an error.</param>
2011
+
/// <remarks>
2012
+
/// This function creates a new session using the specified <paramref name="sessionOptions"/> and then initializes
2013
+
/// the state (restoring tensors and other assets) using <paramref name="runOptions"/>
/// Closes the session. Contacts any other processes associated with the session, if applicable.
2043
+
/// </summary>
2044
+
/// <param name="status">Status buffer, if specified a status code will be left here, if not specified, a <see cref="T:TensorFlow.TFException"/> exception is raised if there is an error.</param>
2045
+
/// <remarks>
2046
+
/// Can not be called after calling DeleteSession.
/// Load the library specified by and register the operations and
2486
+
/// kernels present in that library.
2487
+
/// </summary>
2488
+
/// <returns>Handle to the loaded library.</returns>
2489
+
/// <param name="libraryFile">Name of the library to load, this is a platform specific name.</param>
2490
+
/// <param name="status">Status buffer, if specified a status code will be left here, if not specified, a <see cref="T:TensorFlow.TFException"/> exception is raised if there is an error.</param>
2491
+
/// <remarks>
2492
+
/// The provided <paramref name="libraryFile"/> is passed to the operating system dynamic loader
2493
+
/// and it will load the library using the operating system defined search paths and rules to load this.
0 commit comments