We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe4d943 commit 92e8eb2Copy full SHA for 92e8eb2
src/TensorFlowNET.Core/Graphs/Graph.cs
@@ -560,5 +560,23 @@ public static implicit operator IntPtr(Graph graph)
560
{
561
return graph._handle;
562
}
563
+
564
+ public OrderedDictionary _captures => new OrderedDictionary();
565
566
+ public Tensor[] external_captures()
567
+ {
568
+ Tensor[] captures = new Tensor[this._captures.Count];
569
+ ICollection inner = this._captures.Keys; // c[0]
570
+ inner.CopyTo(captures, 0);
571
+ return captures;
572
+ }
573
574
+ public Tensor[] internal_captures()
575
576
577
+ ICollection inner = this._captures.Values; // c[1]
578
579
580
581
582
0 commit comments