Skip to content

Commit 2a962b1

Browse files
committed
The Graph of variable. #139
1 parent b209fac commit 2a962b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/TensorFlowNET.Core/Variables/RefVariable.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public partial class RefVariable : VariableV1
1717
private Operation _initializer_op;
1818
public Operation initializer => _initializer_op;
1919
public Operation op => _variable.op;
20+
public Graph graph => _variable.Graph;
2021
public TF_DataType dtype => _variable.dtype;
2122
public TensorShape shape => tensor_util.to_shape(_variable.shape);
2223

0 commit comments

Comments
 (0)