Have you checked the documentation for std 104?
PyTorch uses the unbiased estimate of std by default and that is not well-defined for a single element. If you set unbiased=False, you’ll get what I would suppose is what you expect.
Best regards
Thomas