TensorType outputType(TensorType subspaceType) {
        var context = new MyTypeContext(subspaceType);
        var result = function.type(context);
        return result;
    }
A function suitable for use in MapSubspaces / FilterSubspaces

@author arnej
vespajlib/src/main/java/com/yahoo/tensor/functions/DenseSubspaceFunction.java