From a8c6a6fbf95ecb3807a19da3613e8a5e7a91f0d5 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期五, 08 十一月 2024 09:31:23 +0800 Subject: [PATCH] 模型运行参数缓存 --- iailab-module-model/iailab-module-model-biz/src/main/resources/template/impl.java.vm | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/template/impl.java.vm b/iailab-module-model/iailab-module-model-biz/src/main/resources/template/impl.java.vm index 0ffc252..f1ebee1 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/resources/template/impl.java.vm +++ b/iailab-module-model/iailab-module-model-biz/src/main/resources/template/impl.java.vm @@ -18,7 +18,8 @@ @Override public HashMap<String, Object> ${entity.methodName}(#foreach ($column in [1..$entity.dataLength])double data${column}[][], #{end}#{if}($entity.model==1)HashMap<String, Object> models, #{end}HashMap<String, Object> settings) { #{if}($entity.model==1) - model = utils.createPredictHashmapplus(models); + //model = utils.createPredictHashmapplus(models); + model = models; #{end} if (#{foreach} ($column in [1..$entity.dataLength])#{if}($column==1)data${column} == null || data${column}.length == 0 || data${column}[0].length == 0#{else} || data${column} == null || data${column}.length == 0 || data${column}[0].length == 0#{end}#{end}) { result = new HashMap<String, Object>(); -- Gitblit v1.9.3