In place randomization
eulerreich
you can do: <SCODE>a = torch.zeros(3, 4) # or whatever shape
torch.randn(3, 4, out=a)
<ECODE> But yea we didn’t implement some methods. We just didn’t get around to it.
smth
apaszke
FYI, this isn’t implemented yet: <SCODE>>>> torch.cuda.FloatTensor(3,2).random_()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'torch.cuda.FloatTensor' object has no attribute 'random_'
<ECODE>
jnhwkim