/// <summary> /// Write out a serialized representation of `graph` (as a GraphDef protocol /// message). /// </summary> /// <param name="outputGraphDef">The buffer to store the GraphDef</param> /// <param name="status">The status</param> public void ToGraphDef(Buffer outputGraphDef, Status status = null) { using (StatusChecker checker = new StatusChecker(status)) TfInvoke.tfeGraphToGraphDef(_ptr, outputGraphDef, checker.Status); }