Commit af4e36d
Factor out candidate generation and post-processing in discrete samplers to reduce boilerplate. This makes the
PiperOrigin-RevId: 908000169update methods focus purely on computing the routing probabilities.1 parent ecd41f8 commit af4e36d
3 files changed
Lines changed: 777 additions & 255 deletions
File tree
- hackable_diffusion/lib/sampling
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
0 commit comments