aboutsummaryrefslogtreecommitdiffstats
path: root/model-evaluation/src/main/java/ai/vespa/models/evaluation/Constant.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-09-04 22:06:11 +0200
committerGitHub <noreply@github.com>2018-09-04 22:06:11 +0200
commitf6076b70ef85bc6c0c10c373307acb1b1f456702 (patch)
tree2d3c7bad7f9157aba94c9119c6967ee34ecbec57 /model-evaluation/src/main/java/ai/vespa/models/evaluation/Constant.java
parent793aac11a3cbefd24535595665fc3c3104c1e043 (diff)
Revert "Bratseth/handle large constants take 2"
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; }
-
-}