コード例 #1
0
 /// <summary>
 /// Returns the serialized VersionDef proto for this graph.
 /// </summary>
 /// <return>The serialized VersionDef proto for this graph.</return>
 /// <param name="status">The status</param>
 public Buffer Versions(Status status = null)
 {
     using (StatusChecker checker = new StatusChecker(status))
     {
         return(new Buffer(
                    TfInvoke.tfeGraphVersions(_ptr, checker.Status),
                    true));
     }
 }
コード例 #2
0
ファイル: Graph.cs プロジェクト: wensincai/emgutf
 /// <summary>
 /// Returns the serialized VersionDef proto for this graph.
 /// </summary>
 /// <param name="versionDef">The serialized VersionDef proto for this graph.</param>
 /// <param name="status">The status</param>
 public void Versions(Buffer versionDef, Status status = null)
 {
     using (StatusChecker checker = new StatusChecker(status))
         TfInvoke.tfeGraphVersions(_ptr, versionDef, checker.Status);
 }