BallRootSampler# class sdm.prior.BallRootSampler# Bases: RootSampler Sample root values uniformly within the unit ball. sample(num_rows: int, channels: int, generator: Generator | None = None) → Tensor# Sample root values with shape [R, H] for rows and channels. Parameters: num_rows (int) – Number of rows. channels (int) – Number of output channels. generator (Generator | None) – Pseudorandom generator. Return type: Tensor