This repository was archived by the owner on Aug 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +382
-16
lines changed
Expand file tree Collapse file tree 5 files changed +382
-16
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ class AttributeTest : IDisposable
250250 static int counter ;
251251 public TFStatus Status ;
252252 TFGraph graph ;
253- TFOperationDesc desc ;
253+ // TFOperationDesc desc;
254254
255255 public AttributeTest ( )
256256 {
@@ -331,7 +331,7 @@ public void AddControlInput ()
331331 runner . AddTarget ( noop ) ;
332332 runner . Run ( ) ;
333333 throw new Exception ( "This should have thrown an exception" ) ;
334- } catch ( Exception e ) {
334+ } catch ( Exception ) {
335335 Console . WriteLine ( "Success, got the expected exception when using tensorflow control inputs to assert" ) ;
336336 }
337337 }
Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ public class TFBuffer : TFDisposable
7474
7575 internal TFBuffer ( IntPtr handle ) : base ( handle ) { }
7676
77+ /// <summary>
78+ /// Initializes a new instance of the <see cref="T:TensorFlow.TFBuffer"/> class.
79+ /// </summary>
7780 unsafe public TFBuffer ( ) : base ( ( IntPtr ) TF_NewBuffer ( ) )
7881 {
7982 }
Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ public QueueBase (TFSession session)
2525 Session = session ?? throw new ArgumentNullException ( nameof ( session ) ) ;
2626 }
2727
28+ /// <summary>
29+ /// The session that this QueueBased was created for.
30+ /// </summary>
31+ /// <value>The session.</value>
2832 protected TFSession Session { get ; private set ; }
2933
3034 /// <summary>
Original file line number Diff line number Diff line change @@ -1118,6 +1118,10 @@ public object GetValue (bool jagged = false)
11181118 }
11191119 }
11201120
1121+ /// <summary>
1122+ /// Returns a <see cref="T:System.String"/> that represents the current <see cref="T:TensorFlow.TFTensor"/>.
1123+ /// </summary>
1124+ /// <returns>A <see cref="T:System.String"/> that represents the current <see cref="T:TensorFlow.TFTensor"/>.</returns>
11211125 public override string ToString ( )
11221126 {
11231127 var n = NumDims ;
@@ -1134,14 +1138,6 @@ public override string ToString ()
11341138 return sb . ToString ( ) ;
11351139 }
11361140
1137-
1138-
1139-
1140-
1141-
1142-
1143-
1144-
11451141 private static int [ ] getLength ( Array array , bool deep = true , bool max = false )
11461142 {
11471143 // This function gets the length of all dimensions in a multidimensional, jagged, or mixed array.
You can’t perform that action at this time.
0 commit comments