tensorflow_privacy/privacy/analysis
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 Project import generated by Copybara. 2018-12-18 15:44:04 -08:00
compute_dp_sgd_privacy.py Restoring ability to run compute_dp_sgd_privacy.py as a standalone script. 2019-04-11 17:06:53 -07:00
privacy_ledger.py Extensions to DPQuery and subclasses. 2019-05-13 11:28:56 -07:00
privacy_ledger_test.py Cleanup directory structure, add top-level imports and add normalized_query. 2019-03-25 10:21:04 -07:00
rdp_accountant.py Adding a paragraph to the walk-through on how to choose RDP orders. Plus deleting empty lines in rdp_accountant.py. Fixing issue #47. 2019-04-19 21:50:49 -07:00
rdp_accountant_test.py Use PrivacyLedger for privacy accounting. 2019-03-29 15:31:32 -07:00
tensor_buffer.py Very minor formatting change. 2019-05-03 16:41:38 -07:00
tensor_buffer_test_eager.py Allow tensor buffers to automatically resize as needed. 2019-05-03 16:30:02 -07:00
tensor_buffer_test_graph.py Allow tensor buffers to automatically resize as needed. 2019-05-03 16:30:02 -07:00