tfp.experimental.auto_batching.instructions.extract_referenced_variables
Stay organized with collections
Save and categorize content based on your preferences.
Extracts a set of the variable names referenced by the node in question.
tfp.experimental.auto_batching.instructions.extract_referenced_variables(
node
)
Args |
node
|
Most structures from the VM, including ops, sequences of ops, blocks.
|
Returns |
varnames
|
set of variable names referenced by the node in question.
|
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 2023-11-21 UTC.
[null,null,["Last updated 2023-11-21 UTC."],[],[],null,["# tfp.experimental.auto_batching.instructions.extract_referenced_variables\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/probability/blob/v0.23.0/tensorflow_probability/python/experimental/auto_batching/instructions.py#L1205-L1237) |\n\nExtracts a set of the variable names referenced by the node in question.\n\n#### View aliases\n\n\n**Main aliases**\n\n[`tfp.experimental.auto_batching.frontend.instructions.extract_referenced_variables`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/instructions/extract_referenced_variables), [`tfp.experimental.auto_batching.frontend.st.inst.extract_referenced_variables`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/instructions/extract_referenced_variables), [`tfp.experimental.auto_batching.frontend.stack.inst.extract_referenced_variables`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/instructions/extract_referenced_variables), [`tfp.experimental.auto_batching.stack_optimization.inst.extract_referenced_variables`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/instructions/extract_referenced_variables), [`tfp.experimental.auto_batching.stackless.inst.extract_referenced_variables`](https://www.tensorflow.org/probability/api_docs/python/tfp/experimental/auto_batching/instructions/extract_referenced_variables)\n\n\u003cbr /\u003e\n\n tfp.experimental.auto_batching.instructions.extract_referenced_variables(\n node\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|--------|-----------------------------------------------------------------------|\n| `node` | Most structures from the VM, including ops, sequences of ops, blocks. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|------------|-------------------------------------------------------------|\n| `varnames` | `set` of variable names referenced by the node in question. |\n\n\u003cbr /\u003e"]]