You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Einops now can use array API to manipulate tensors #648
Einops just gained support for API-compliant tensors:
fromeinops.array_apiimportrearrange, reduce, repeat, pack, unpackfromnumpy.array_apiimportzerosx=zeros([2, 3, 4, 5])
rearrange(x, 'b h w c -> b c h w').shape
This is already available for testing:
pip install einops==0.7.0rc1
Reacted by jakirkham, Alex Rogozhnikov, Matthew Barber, Leo Fang, Phil Wang, Ralf Gommers and Stephannie Jimenez Gacha
Activity