diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-09-04 22:06:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-04 22:06:11 +0200 |
commit | f6076b70ef85bc6c0c10c373307acb1b1f456702 (patch) | |
tree | 2d3c7bad7f9157aba94c9119c6967ee34ecbec57 /model-evaluation/src/main/java/ai/vespa/models/evaluation/Constant.java | |
parent | 793aac11a3cbefd24535595665fc3c3104c1e043 (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.java | 27 |
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; } - -} |