(size: int, alignment: int, stream: int | None)
| 638 | @triton.jit |
| 639 | def _gumbel_noise(seed, sample_idx, noise_offsets): |
| 640 | # Use the seed as the sample-stream identifier and the offset as the |
| 641 | # element identifier. Keeping these two dimensions separate avoids the |
| 642 | # collisions caused by combining sample and tile IDs with arbitrary |
| 643 | # decimal multipliers. |
| 644 | return -tl.log(-tl.log(tl.rand(seed + sample_idx, noise_offsets))) |
nothing calls this directly
no outgoing calls
no test coverage detected