@Override
        public int hashCode() { return Objects.hash(dimension, label, index); }
Returns the index expression for this dimension, or empty if it is not a number
vespajlib/src/main/java/com/yahoo/tensor/functions/Slice.java