On this page
torch.Tensor.log_normal_
Tensor.log_normal_(mean=1, std=2, *, generator=None)
-
Fills
self
tensor with numbers samples from the log-normal distribution parameterized by the given mean and standard deviation . Note thatmean
andstd
are the mean and standard deviation of the underlying normal distribution, and not of the returned distribution:
© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.Tensor.log_normal_.html