tensorly / torch

TensorLy-Torch: Deep Tensor Learning with TensorLy and PyTorch
http://tensorly.org/torch/
BSD 3-Clause "New" or "Revised" License
70 stars 18 forks source link

Replacing collections with collections.abc for Python 3.10 support #29

Closed bonevbs closed 1 year ago

bonevbs commented 1 year ago

just a minimum PR to be compatible with newer Python versions. See here: https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes

JeanKossaifi commented 1 year ago

Thanks @bonevbs, I've been meaning to do this for a while, thanks for actually making a PR and fixing it!