tf.keras.utils.get_source_inputs
Stay organized with collections
Save and categorize content based on your preferences.
Returns the list of input tensors necessary to compute tensor
.
tf.keras.utils.get_source_inputs(
tensor
)
Output will always be a list of tensors
(potentially with 1 element).
Args |
tensor
|
The tensor to start from.
|
Returns |
List of input tensors.
|
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. Some content is licensed under the numpy license.
Last updated 2024-06-07 UTC.
[null,null,["Last updated 2024-06-07 UTC."],[],[],null,["# tf.keras.utils.get_source_inputs\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/keras-team/keras/tree/v3.3.3/keras/src/ops/operation_utils.py#L370-L402) |\n\nReturns the list of input tensors necessary to compute `tensor`. \n\n tf.keras.utils.get_source_inputs(\n tensor\n )\n\nOutput will always be a list of tensors\n(potentially with 1 element).\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|----------|---------------------------|\n| `tensor` | The tensor to start from. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| List of input tensors. ||\n\n\u003cbr /\u003e"]]