Closed
Description
Hi there,
this code is kinda out-of-date, it's already mentioned in the documentation that PyTorch is supporting tuple of ints.
Well it's fine, but the biggest issue is that this squeeze is not behaving similarly to numpy, since I can lazily use squeeze to remove all trivial dimensions.
Well, I can do patch to this part and PR it if it's okay for your team.
Thanks,
Sam
array-api-compat/array_api_compat/torch/_aliases.py
Lines 488 to 499 in 21aa31b
Metadata
Metadata
Assignees
Labels
No labels