@Override
    public String toString() {
        return "attribute '" + name + "' (" + (tensorType.isPresent() ? tensorType.get() : type) + ")";
    }
Returns whether these attributes describes the same entity, even if they have different names
config-model/src/main/java/com/yahoo/schema/document/Attribute.java