public boolean isAssignableTo(TensorType generalization) {
        return isConvertibleOrAssignableTo(generalization, false, true);
    }
Returns whether this type can be assigned to the given type,
i.e. if the given type is a generalization of this type.
vespajlib/src/main/java/com/yahoo/tensor/TensorType.java