Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

torch.cuda.randn

shape = torch.Size((300, 300))
x = torch.cuda.FloatTensor(shape)
torch.randn(shape, out=x)
Source by discuss.pytorch.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
6+8 =