aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLester Solbakken <lesters@oath.com>2020-02-10 10:55:55 +0100
committerLester Solbakken <lesters@oath.com>2020-02-10 10:55:55 +0100
commit238085125e0c14fc7e3251338530b7508994ea3a (patch)
tree7074e7835d0f346461a58e2d039fcf15e77a03e8
parentc6ea3aa88e8929c2cbfe90f9c9ffdde482b7adc5 (diff)
Fix javadoc error
-rw-r--r--model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/Slice.java2
-rw-r--r--vespajlib/src/main/java/com/yahoo/tensor/functions/Slice.java1
2 files changed, 1 insertions, 2 deletions
diff --git a/model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/Slice.java b/model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/Slice.java
index b7c366d1034..e5463291ef8 100644
--- a/model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/Slice.java
+++ b/model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/Slice.java
@@ -29,7 +29,7 @@ import static com.yahoo.searchlib.rankingexpression.rule.TensorFunctionNode.wrap
*
* Opset 1 to 9 accepts starts, ends, and axes tensors as attributes
*
- * Opset >= 10 accepts starts, ends, axes, and steps tensors as inputs. Here we assume these are
+ * Opset 10 and up accepts starts, ends, axes, and steps tensors as inputs. Here we assume these are
* constants, otherwise we can't import this model because that would mean we
* would not know the resulting tensor type until run-time, and that is currently
* not supported in Vespa.
diff --git a/vespajlib/src/main/java/com/yahoo/tensor/functions/Slice.java b/vespajlib/src/main/java/com/yahoo/tensor/functions/Slice.java
index 850f804a180..bccd66acd31 100644
--- a/vespajlib/src/main/java/com/yahoo/tensor/functions/Slice.java
+++ b/vespajlib/src/main/java/com/yahoo/tensor/functions/Slice.java
@@ -10,7 +10,6 @@ import com.yahoo.tensor.evaluation.EvaluationContext;
import com.yahoo.tensor.evaluation.Name;
import com.yahoo.tensor.evaluation.TypeContext;
-import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;