aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/neural.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua
index 2ac8df59f..57ff9cc21 100644
--- a/src/plugins/lua/neural.lua
+++ b/src/plugins/lua/neural.lua
@@ -114,6 +114,7 @@ local function ann_scores_filter(task)
score = out[1]
local symscore = string.format('%.3f', score)
+ task:cache_set(rule.prefix .. '_neural_score', score)
lua_util.debugm(N, task, '%s:%s:%s ann score: %s',
rule.prefix, set.name, set.ann.version, symscore)