From 61299401dca1ac23d25838eeede9c4c5a9c7ec7a Mon Sep 17 00:00:00 2001 From: haiping008 Date: Fri, 8 Mar 2019 14:47:51 -0600 Subject: [PATCH] fix variable_scope --- src/TensorFlowNET.Core/Variables/_VariableStore.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/TensorFlowNET.Core/Variables/_VariableStore.cs b/src/TensorFlowNET.Core/Variables/_VariableStore.cs index fc3768a1..fd00ee0c 100644 --- a/src/TensorFlowNET.Core/Variables/_VariableStore.cs +++ b/src/TensorFlowNET.Core/Variables/_VariableStore.cs @@ -77,7 +77,15 @@ namespace Tensorflow } else { - throw new NotImplementedException("_true_getter"); + IInitializer init1 = null; + return _get_single_variable(name: name, + shape: shape, + dtype: dtype, + initializer: init1, + trainable: trainable, + validate_shape: validate_shape, + synchronization: synchronization, + aggregation: aggregation); } }