Hi,
What’s the most PyTorch-ist way to sample uniformly at random from the unit sphere?
Best regards
Hi,
What’s the most PyTorch-ist way to sample uniformly at random from the unit sphere?
Best regards
Sampling points on the unit sphere (i.e. points of norm 1) is possible by using BoTorch’s sample_hypersphere
. Referece: https://github.com/pytorch/botorch/pull/369/files