tf_privacy.tree_aggregation.TreeState
Stay organized with collections
Save and categorize content based on your preferences.
Class defining state of the tree.
tf_privacy.tree_aggregation.TreeState(
level_buffer, level_buffer_idx, value_generator_state
)
Attributes |
level_buffer: A tf.Tensor saves the last node value of the left child
entered for the tree levels recorded in level_buffer_idx .
level_buffer_idx: A tf.Tensor for the tree level index of the
level_buffer . The tree level index starts from 0, i.e.,
level_buffer[0] when level_buffer_idx[0]==0 recorded the noise value
for the most recent leaf node.
|
level_buffer
|
A namedtuple alias for field number 0
|
level_buffer_idx
|
A namedtuple alias for field number 1
|
value_generator_state
|
State of a stateful ValueGenerator for tree node.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-16 UTC."],[],[]]