New() vs randn here how new() functions initialize value ..... is that like as randn() functions

pCapture
here how new() functions initialize value … is that like as randn() functions

It looks like uninitialized memory.
If you need certain values, I would stick to torch.randn or any other method which initialized the data.

1 Like