flopscope.

flopscope.stats.uniform

flopscope.stats.uniform

Continuous uniform random variable on ``[loc, loc + scale]``.

Continuous uniform random variable on [loc, loc + scale].

This object mirrors scipy.stats.uniform.

Notes

loc is the lower bound and scale is the interval width. pdf and ppf deduct 1 * numel(input) FLOPs. cdf deducts 4 * numel(input) FLOPs (composite: sub + div + 2 clip compare/selects, weight 1.0; calibrated alpha 4.0).