I found myself typing this code several times at different places
by now, so time to make this a general utility instead. Given
a permutation, it returns the permuted position of the input,
for example (i,j,k) -> (k,i,j) yields position 1 for input 0.
Details
Details
- Reviewers
rriddle ftynse bondhugula - Commits
- rGa643bd3189ae: [mlir] add permutation utility
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo