संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: ऑप्स:: प्लेसहोल्डरविथडिफॉल्ट
#include <array_ops.h>
एक प्लेसहोल्डर ऑप जो input
से तब गुजरता है जब उसका आउटपुट फीड नहीं किया जाता है।
सारांश
तर्क:
- स्कोप: एक स्कोप ऑब्जेक्ट
- इनपुट:
output
फीड न होने पर उत्पन्न होने वाला डिफ़ॉल्ट मान। - आकार: टेंसर का (संभवतः आंशिक) आकार।
रिटर्न:
-
Output
: एक प्लेसहोल्डर टेंसर जो फीड न होने पर input
पर डिफॉल्ट करता है।
सार्वजनिक गुण
सार्वजनिक समारोह
नोड
::tensorflow::Node * node() const
operator::tensorflow::Input() const
ऑपरेटर::टेन्सरफ़्लो::आउटपुट
operator::tensorflow::Output() const
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# tensorflow::ops::PlaceholderWithDefault Class Reference\n\ntensorflow::ops::PlaceholderWithDefault\n=======================================\n\n`#include \u003carray_ops.h\u003e`\n\nA placeholder op that passes through `input` when its output is not fed.\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- input: The default value to produce when `output` is not fed.\n- shape: The (possibly partial) shape of the tensor.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): A placeholder tensor that defaults to `input` if it is not fed.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [PlaceholderWithDefault](#classtensorflow_1_1ops_1_1_placeholder_with_default_1ae4d4b5f83270ca5703ffe69f02a15eb7)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input, PartialTensorShape shape)` ||\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_placeholder_with_default_1aad20a686bc26b793fb68b299dcf7b9fd) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_placeholder_with_default_1a88a9e63e6171a4176dfb91f2fc3c05fd) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_placeholder_with_default_1a1a5464a28eaeb73dac97051e6864fbb2)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_placeholder_with_default_1ad83a6453e256fd62263007bbeadc45a3)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_placeholder_with_default_1a8212ef889952d76a1a68cc14c6ff2107)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output\n\n```text\n::tensorflow::Output output\n``` \n\nPublic functions\n----------------\n\n### PlaceholderWithDefault\n\n```gdscript\n PlaceholderWithDefault(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input,\n PartialTensorShape shape\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]