File tree 5 files changed +382
-16
lines changed
5 files changed +382
-16
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ class AttributeTest : IDisposable
250
250
static int counter ;
251
251
public TFStatus Status ;
252
252
TFGraph graph ;
253
- TFOperationDesc desc ;
253
+ // TFOperationDesc desc;
254
254
255
255
public AttributeTest ( )
256
256
{
@@ -331,7 +331,7 @@ public void AddControlInput ()
331
331
runner . AddTarget ( noop ) ;
332
332
runner . Run ( ) ;
333
333
throw new Exception ( "This should have thrown an exception" ) ;
334
- } catch ( Exception e ) {
334
+ } catch ( Exception ) {
335
335
Console . WriteLine ( "Success, got the expected exception when using tensorflow control inputs to assert" ) ;
336
336
}
337
337
}
Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ public class TFBuffer : TFDisposable
74
74
75
75
internal TFBuffer ( IntPtr handle ) : base ( handle ) { }
76
76
77
+ /// <summary>
78
+ /// Initializes a new instance of the <see cref="T:TensorFlow.TFBuffer"/> class.
79
+ /// </summary>
77
80
unsafe public TFBuffer ( ) : base ( ( IntPtr ) TF_NewBuffer ( ) )
78
81
{
79
82
}
Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ public QueueBase (TFSession session)
25
25
Session = session ?? throw new ArgumentNullException ( nameof ( session ) ) ;
26
26
}
27
27
28
+ /// <summary>
29
+ /// The session that this QueueBased was created for.
30
+ /// </summary>
31
+ /// <value>The session.</value>
28
32
protected TFSession Session { get ; private set ; }
29
33
30
34
/// <summary>
Original file line number Diff line number Diff line change @@ -1118,6 +1118,10 @@ public object GetValue (bool jagged = false)
1118
1118
}
1119
1119
}
1120
1120
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>
1121
1125
public override string ToString ( )
1122
1126
{
1123
1127
var n = NumDims ;
@@ -1134,14 +1138,6 @@ public override string ToString ()
1134
1138
return sb . ToString ( ) ;
1135
1139
}
1136
1140
1137
-
1138
-
1139
-
1140
-
1141
-
1142
-
1143
-
1144
-
1145
1141
private static int [ ] getLength ( Array array , bool deep = true , bool max = false )
1146
1142
{
1147
1143
// 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