aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;