Return counter value from counter_incr function

This commit is contained in:
mdecimus
2024-02-21 13:07:10 +01:00
parent 75bb02d13a
commit be7c4cca73
7 changed files with 47 additions and 31 deletions

View File

@@ -117,6 +117,7 @@ fn train(ctx: PluginContext<'_>, is_train: bool) -> Variable {
.finalize(),
weights.into(),
None,
false,
),
)
.is_err()
@@ -141,6 +142,7 @@ fn train(ctx: PluginContext<'_>, is_train: bool) -> Variable {
.finalize(),
weights.into(),
None,
false,
),
)
.is_err()