Add a TODO comment for replacing noise saving with seed saving for tree aggregation.

PiperOrigin-RevId: 382338346
This commit is contained in:
Zheng Xu 2021-06-30 10:45:50 -07:00 committed by A. Unique TensorFlower
parent 3055f4ad52
commit c192a4166b

View file

@ -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.