So, PyCharm sends me a warning that he can’t find any reference for torch.cat inside __init__.py of torch, but when I run the code there is no execution error, and he performs torch.cat correctly…I don’t know why PyCharm fails to recognise it, but I can live with it!
Anyways, thanks for your help!