Random distributions for host and device. by mzient · Pull Request #6093 · NVIDIA/DALI
and others added 6 commits
November 20, 2025 10:27mdabek-nvidia pushed a commit to mdabek-nvidia/DALI that referenced this pull request
Nov 27, 2025This PR adds some random distributions usable on both host and device. The distributions added in this PR: * uniform real (float and double) * uniform int (including up to full integer range) * uniform real over unit range [0..1] * normal standard (Box-Muller transform) * normal (scaled normal standard) * Bernoulli --------- Signed-off-by: Michal Zientkiewicz <michalz@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters