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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-02-16 UTC.",
"confidential": False
}