Add Python RNG API for DALI dynamic mode random operators by jantonguirao · Pull Request #6101 · NVIDIA/DALI
bot found potential problems Nov 27, 2025
- Add type validation in _op_builder.py to ensure rng argument is an nvidia.dali.experimental.dynamic.random.RNG instance - Support seed argument as fallback when rng is not provided - Add documentation for rng argument in _docs.py - Update test_random.py to use proper RNG instances instead of functions - Refactor test_rn50_pipeline.py to use functional random API with RNG instances for reproducible results across dynamic and pipeline APIs Signed-off-by: Joaquin Anton Guirao <janton@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