From 2a962b1cac960f4781ddb55af93efbdccfaa5b83 Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Sat, 26 Jan 2019 07:45:14 -0600 Subject: [PATCH] The Graph of variable. #139 --- src/TensorFlowNET.Core/Variables/RefVariable.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TensorFlowNET.Core/Variables/RefVariable.cs b/src/TensorFlowNET.Core/Variables/RefVariable.cs index 65c34370..fc15d97d 100644 --- a/src/TensorFlowNET.Core/Variables/RefVariable.cs +++ b/src/TensorFlowNET.Core/Variables/RefVariable.cs @@ -17,6 +17,7 @@ namespace Tensorflow private Operation _initializer_op; public Operation initializer => _initializer_op; public Operation op => _variable.op; + public Graph graph => _variable.Graph; public TF_DataType dtype => _variable.dtype; public TensorShape shape => tensor_util.to_shape(_variable.shape);