3 ms·
I think what you want is a combination of swapaxes and flip (reshape does not turn rows into columns, it turns m input rows into n output rows), but yeah. Actu
by im3w1l 2y ago
I think what you want is a combination of swapaxes and flip (reshape does not turn rows into columns, it turns m input rows into n output rows), but yeah.
Actually let me include a little figure
original reshape swapaxes
abc ab ad
def cd be
ef cf