New submission from Justin Hodder <draltaicaph...@gmail.com>:
Here a colab that demostrates the bug https://colab.research.google.com/drive/1OWSEoV7Wx-EBA_2IprNZoASNvXIky3iC?usp=sharing ++++the following code gives"received an invalid combination of arguments - got (Tensor, Tensor), but expected one of:" import torch torch.nn.Linear( torch.as_strided(torch.ones((4,6*5*5*70*10)),(4,6*5*5,10),(4,2,-1)) ,torch.ones(10,6*5*6)) #(4,2,3),(2,3,1)) ++++The following code gives "TypeError: ones(): argument 'size' (position 1) must be tuple of ints, not str import torch" import torch #torch.nn.Linear( torch.as_strided(torch.ones((4,6*5*5*70*10)),(4,6*5*5,10),(4,2,-1)) ,torch.ones(10,6*5*6)#) #(4,2,3),(2,3,1)) ++++ ---------- components: Interpreter Core files: pythos_parser_bug.ipynb messages: 373937 nosy: Justin Hodder priority: normal severity: normal status: open title: strangnedd with the parser versions: Python 3.6 Added file: https://bugs.python.org/file49325/pythos_parser_bug.ipynb _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41337> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com