@Override
    public PrimitiveTensorFunction<NAMETYPE> toPrimitive() {
        return new Concat<>(argumentA.toPrimitive(), argumentB.toPrimitive(), dimension);
    }
Concatenation of two tensors along an (indexed) dimension

@author bratseth
vespajlib/src/main/java/com/yahoo/tensor/functions/Concat.java