in rfcs/20210731-tfjs-named-tensors/gtensor.ts [390:392]
public permuteDimNameToLast(name: G): GTensor<G> { return this._permuteIndexToLast(this.dim[name].index); }