Skip to content

Commit 6129940

Browse files
committed
fix variable_scope
1 parent 8fa1f21 commit 6129940

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/TensorFlowNET.Core/Variables/_VariableStore.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,15 @@ private RefVariable _true_getter(string name,
7777
}
7878
else
7979
{
80-
throw new NotImplementedException("_true_getter");
80+
IInitializer init1 = null;
81+
return _get_single_variable(name: name,
82+
shape: shape,
83+
dtype: dtype,
84+
initializer: init1,
85+
trainable: trainable,
86+
validate_shape: validate_shape,
87+
synchronization: synchronization,
88+
aggregation: aggregation);
8189
}
8290
}
8391

0 commit comments

Comments
 (0)