Skip to content

Define DPMechanism ABC and wrap local_mode primitives#16

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/931374092
Open

Define DPMechanism ABC and wrap local_mode primitives#16
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/931374092

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Jun 12, 2026

Copy link
Copy Markdown

Define DPMechanism ABC and wrap local_mode primitives

Introduces a DPMechanism abstract base class with calibrate,
dp_event, and __call__(rng, data) methods. Each mechanism is
parameterized by its natural privacy parameter. Wraps all local mode
primitives and initializers as DPMechanism subclasses.

@copybara-service copybara-service Bot changed the title Define DPMechanism ABC and refactor dpsynth mechanisms to use it Define DPMechanism ABC and wrap local_mode primitives Jun 12, 2026
Introduces a `DPMechanism` abstract base class with `calibrate`,
`dp_event`, and `__call__(rng, data)` methods. Each mechanism is
parameterized by its natural privacy parameter. Wraps all local mode
primitives and initializers as DPMechanism subclasses.

PiperOrigin-RevId: 931374092
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants