Nn.relu() seems to be problematic

I use nn.ReLU() inside a MLP, when I do not specify inplace, I got nan output, but when i specify inplace=True, I got normal output, why?


This should not happen if you use all the modules properly.
Can you share small code sample to reproduce this?