private Tensor vector(int vectorSize, TensorType.Dimension.Type dimensionType) {
        return vectors(vectorSize, dimensionType, 1).get(0);
    }
Test the same computation made in various ways which are implemented with special-case optimizations
vespajlib/src/test/java/com/yahoo/tensor/TensorTestCase.java