@Override
    public Rename withInputs(List<IntermediateOperation> inputs) {
        if (inputs.size() != 1)
            throw new IllegalArgumentException("Rename require 1 input, not " + inputs.size());
        return new Rename(modelName(), from, to, inputs.get(0));
    }
Renames a tensor dimension to relax dimension constraints

@author bratseth
model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/Rename.java