Nan generated by initializer


The default Tensor constructor returned one with a Nan in it.


I understand that this is extremely rare since this is first time I’ve seen this happening. I’m simply curious as to when this can happen.

The default tensor constructor only allocates a block of memory, it doesn’t overwrite it. So you get a NaN when the underlying memory contains a NaN.