oa::image::noise_like
Generate deterministic Philox noise matching input’s shape and layout. The same (seed, distribution, amplitude) triple always produces the same noise tensor. The result carries input’s layout and format so it can be mixed back into the image or an augmentation chain. Errors Returns an error when amplitude is negative or non-finite, or noise generation/allocation fails.
Function Documentation
Generate deterministic Philox noise matching input’s shape and layout. The same (seed, distribution, amplitude) triple always produces the same noise tensor. The result carries input’s layout and format so it can be mixed back into the image or an augmentation chain. Errors Returns an error when amplitude is negative or non-finite, or noise generation/allocation fails.