tensorflow_privacy/privacy
Galen Andrew 1d1a6e087a Extensions to DPQuery and subclasses.
1. Split DPQuery.accumulate_record function into preprocess_record and accumulate_preprocessed_record.
2. Add merge_sample_state function.
3. Add default implementations for some functions in DPQuery, and add base class SumAggregationDPQuery that implements some more. Only get_noised_result is still abstract.
4. Enforce that all states and parameters used as inputs and outputs to DPQuery functions are nested structures of tensors by replacing numbers with constants and Nones with empty tuples.

PiperOrigin-RevId: 247975791
2019-05-13 11:28:56 -07:00
..
analysis Extensions to DPQuery and subclasses. 2019-05-13 11:28:56 -07:00
dp_query Extensions to DPQuery and subclasses. 2019-05-13 11:28:56 -07:00
optimizers Clean-up pass to eliminate warnings: replacing deprecated endpoints with recommended versions and annotating test sizes. 2019-05-06 14:50:23 -07:00
__init__.py Fixing issue #44 (imports in privacy/__init__.py). Added __init__.py to the dp_query directory for Python 2 compatibility. 2019-04-12 14:10:48 -07:00
BUILD Add missing deps to privacy __init__.py. 2019-04-18 13:39:09 -07:00