![]() |
Class defining global state for Tree sum queries.
tf_privacy.TreeCumulativeSumQuery.GlobalState(
tree_state, clip_value, samples_cumulative_sum
)
Attributes | |
---|---|
tree_state
|
Current state of noise tree keeping track of current leaf and each level state. |
clip_value
|
The clipping value to be passed to clip_fn. |
samples_cumulative_sum
|
Noiseless cumulative sum of samples over time. |
Methods
__eq__
__eq__(
other
)
Method generated by attrs for class TreeCumulativeSumQuery.GlobalState.
__ge__
__ge__(
other
)
Method generated by attrs for class TreeCumulativeSumQuery.GlobalState.
__gt__
__gt__(
other
)
Method generated by attrs for class TreeCumulativeSumQuery.GlobalState.
__le__
__le__(
other
)
Method generated by attrs for class TreeCumulativeSumQuery.GlobalState.
__lt__
__lt__(
other
)
Method generated by attrs for class TreeCumulativeSumQuery.GlobalState.
__ne__
__ne__(
other
)
Method generated by attrs for class TreeCumulativeSumQuery.GlobalState.