tensorflow_privacy/privacy/dp_query
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
..
__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 Extensions to DPQuery and subclasses. 2019-05-13 11:28:56 -07:00
dp_query.py Extensions to DPQuery and subclasses. 2019-05-13 11:28:56 -07:00
gaussian_query.py Extensions to DPQuery and subclasses. 2019-05-13 11:28:56 -07:00
gaussian_query_test.py Extensions to DPQuery and subclasses. 2019-05-13 11:28:56 -07:00
nested_query.py Extensions to DPQuery and subclasses. 2019-05-13 11:28:56 -07:00
nested_query_test.py Cleanup directory structure, add top-level imports and add normalized_query. 2019-03-25 10:21:04 -07:00
no_privacy_query.py Extensions to DPQuery and subclasses. 2019-05-13 11:28:56 -07:00
no_privacy_query_test.py Extensions to DPQuery and subclasses. 2019-05-13 11:28:56 -07:00
normalized_query.py Extensions to DPQuery and subclasses. 2019-05-13 11:28:56 -07:00
normalized_query_test.py Cleanup directory structure, add top-level imports and add normalized_query. 2019-03-25 10:21:04 -07:00
test_utils.py Cleanup directory structure, add top-level imports and add normalized_query. 2019-03-25 10:21:04 -07:00