This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Justin Hodder
Recipients Justin Hodder
Date 2020-07-19.07:14:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595142854.93.0.625652406.issue41337@roundup.psfhosted.org>
In-reply-to
Content
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))
++++
History
Date User Action Args
2020-07-19 07:14:14Justin Hoddersetrecipients: + Justin Hodder
2020-07-19 07:14:14Justin Hoddersetmessageid: <1595142854.93.0.625652406.issue41337@roundup.psfhosted.org>
2020-07-19 07:14:14Justin Hodderlinkissue41337 messages
2020-07-19 07:14:14Justin Hoddercreate