From 1fb41de9e419369d5273a86148ebe50e8b4615f5 Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Thu, 24 Jan 2019 06:58:54 -0600 Subject: [PATCH] add name property #133 --- src/TensorFlowNET.Core/Variables/RefVariable.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TensorFlowNET.Core/Variables/RefVariable.cs b/src/TensorFlowNET.Core/Variables/RefVariable.cs index faf38994..96fc6fde 100644 --- a/src/TensorFlowNET.Core/Variables/RefVariable.cs +++ b/src/TensorFlowNET.Core/Variables/RefVariable.cs @@ -17,6 +17,8 @@ namespace Tensorflow public Operation initializer => _initializer_op; public Operation op => _initializer_op; + public string name => _variable.name; + public RefVariable(object initial_value, bool trainable = true, List collections = null,