public static TensorType outputType(TensorType a, TensorType b) {
        return TypeResolver.merge(a, b);
    }
Returns the type resulting from applying Merge to the two given types
vespajlib/src/main/java/com/yahoo/tensor/functions/Merge.java