Message373937
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))
++++ |
|
Date |
User |
Action |
Args |
2020-07-19 07:14:14 | Justin Hodder | set | recipients:
+ Justin Hodder |
2020-07-19 07:14:14 | Justin Hodder | set | messageid: <1595142854.93.0.625652406.issue41337@roundup.psfhosted.org> |
2020-07-19 07:14:14 | Justin Hodder | link | issue41337 messages |
2020-07-19 07:14:14 | Justin Hodder | create | |
|