opt_einsum_fx icon indicating copy to clipboard operation
opt_einsum_fx copied to clipboard

[Feature] convert transpose into einsum

Open mariogeiger opened this issue 4 years ago • 0 comments

Make a transformer that transforms x.transpose(1, 2) into torch.einsum('abc...->acb...')

in order to then have these operations fused with the rest of the einsums

mariogeiger avatar Mar 15 '21 14:03 mariogeiger