Skip to content

Commit d3c2537

Browse files
dsherretmigueldeicaza
authored andcommitted
Make TFSession.FromSavedModel static. (migueldeicaza#377)
1 parent f6c6f99 commit d3c2537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TensorFlowSharp/Tensorflow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2725,7 +2725,7 @@ public IEnumerable<DeviceAttributes> ListDevices(TFStatus status = null)
27252725
/// here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/saved_model/README.md
27262726
/// </para>
27272727
/// </remarks>
2728-
public TFSession FromSavedModel (TFSessionOptions sessionOptions, TFBuffer runOptions, string exportDir, string [] tags, TFGraph graph, TFBuffer metaGraphDef, TFStatus status = null)
2728+
public static TFSession FromSavedModel (TFSessionOptions sessionOptions, TFBuffer runOptions, string exportDir, string [] tags, TFGraph graph, TFBuffer metaGraphDef, TFStatus status = null)
27292729
{
27302730
if (graph == null)
27312731
throw new ArgumentNullException (nameof (graph));

0 commit comments

Comments
 (0)