From a0de3a01f006019f9c1b06a7a84f396283ebc6bb Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Sat, 26 Jan 2019 07:30:40 -0600 Subject: [PATCH] dtype in RefVariable #137 --- 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 e0e66869..075123f1 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 TF_DataType dtype => _variable.dtype; public string name => _variable.name;