@Override
    public int hashCode() { return Objects.hash("rename", argument, fromDimensions, toDimensions); }
If none of the dimensions change order after rename we can do a simple rename.
vespajlib/src/main/java/com/yahoo/tensor/functions/Rename.java