nvalchemi.csp.hooks.DeduplicationEngine#
- class nvalchemi.csp.hooks.DeduplicationEngine(*args, **kwargs)[source]#
Structural interface for generation-time Batch deduplication.
Implementations return a one-dimensional
torch.boolkeep mask of lengthbatch.num_graphson exactlybatch.deviceand must not mutate the supplied Batch in place. Engines may keep their own state across calls; the bundled radial engine compares only within each input Batch.