Browse Source

fix variable_scope

tags/v0.8.0
haiping008 6 years ago
parent
commit
61299401dc
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      src/TensorFlowNET.Core/Variables/_VariableStore.cs

+ 9
- 1
src/TensorFlowNET.Core/Variables/_VariableStore.cs View File

@@ -77,7 +77,15 @@ namespace Tensorflow
} }
else 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);
} }
} }




Loading…
Cancel
Save