forked from 626_privacy/tensorflow_privacy
Add a TODO comment for replacing noise saving with seed saving for tree aggregation.
PiperOrigin-RevId: 382338346
This commit is contained in:
parent
3055f4ad52
commit
c192a4166b
1 changed files with 5 additions and 0 deletions
|
@ -179,6 +179,11 @@ def get_step_idx(state: TreeState) -> tf.Tensor:
|
||||||
return step_idx
|
return step_idx
|
||||||
|
|
||||||
|
|
||||||
|
# TODO(b/192464750): instead of saving noise `TreeState.level_buffer`, we can
|
||||||
|
# save the random seed and online generate noise. This could save some memory
|
||||||
|
# and disk.
|
||||||
|
|
||||||
|
|
||||||
class TreeAggregator():
|
class TreeAggregator():
|
||||||
"""Tree aggregator to compute accumulated noise in private algorithms.
|
"""Tree aggregator to compute accumulated noise in private algorithms.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue