jax_privacy.execution_plan.ExecutionPlanConfig#
- class jax_privacy.execution_plan.ExecutionPlanConfig(*args, **kwargs)[source]#
Bases:
ProtocolProtocol for configs that build a
DPExecutionPlan.Any config that produces a
DPExecutionPlanfromPerformanceFlagssatisfies this protocol (e.g.BandMFConfig). Consuming a config rather than a pre-built plan lets callers read performance-only settings (such as the aggregationdtype) directly from thePerformanceFlagswithout materializing the plan.Methods
__init__Returns a
DPExecutionPlanconfigured withperformance_flags.- make(performance_flags=None, noise_seed=None)[source]#
Returns a
DPExecutionPlanconfigured withperformance_flags.- Parameters:
performance_flags (
PerformanceFlags|None) – Optional performance flags controlling implementation details such asdtype, sharding, and microbatching.noise_seed (
int|None) – Optional seed for the noise-addition RNG. IfNone, a fresh random seed is drawn; pass an explicit seed for multi-host coordination or reproducible tests (and keep it secret in production deployments).
- Return type: