Skip to main content

Module pi

Module pi 

Source
Expand description

π-digit dither: cyclic table of the first 256 digits of π scaled to [-0.5, 0.5].

Period = 256. Each entry is an independent offset making the sequence suitable for small buffers where you want exact reproducibility from a named tensor / layer rather than a stateful RNG.

Structs§

PiDither
Cyclic π-digit dither. Period = 256; index wraps with bitwise AND.