aboutsummaryrefslogtreecommitdiffstats
path: root/model-evaluation/src/main/java/ai/vespa/models/evaluation/Constant.java
diff options
context:
space:
mode:
authorHarald Musum <musum@oath.com>2018-09-05 17:44:29 +0200
committerGitHub <noreply@github.com>2018-09-05 17:44:29 +0200
commit25f0a082de8faa43f1d21e625dd77eb044d40c82 (patch)
treec1782314b38b425710474cbc1adc006f2d4e62fb /model-evaluation/src/main/java/ai/vespa/models/evaluation/Constant.java
parenteffa026363d34562643387373213e5059ad4f365 (diff)
Revert "Bratseth/handle large constants take 4"
Diffstat (limited to 'model-evaluation/src/main/java/ai/vespa/models/evaluation/Constant.java')
-rw-r--r--model-evaluation/src/main/java/ai/vespa/models/evaluation/Constant.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/model-evaluation/src/main/java/ai/vespa/models/evaluation/Constant.java b/model-evaluation/src/main/java/ai/vespa/models/evaluation/Constant.java
deleted file mode 100644
index e664693ab38..00000000000
--- a/model-evaluation/src/main/java/ai/vespa/models/evaluation/Constant.java
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-package ai.vespa.models.evaluation;
-
-import com.yahoo.tensor.Tensor;
-
-/**
- * A named constant loaded from a file.
- *
- * This is immutable.
- *
- * @author bratseth
- */
-class Constant {
-
- private final String name;
- private final Tensor value;
-
- Constant(String name, Tensor value) {
- this.name = name;
- this.value = value;
- }
-
- public String name() { return name; }
-
- public Tensor value() { return value; }
-
-}