संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: ऑप्स:: खाली:: Attrs
#include <array_ops.h>
Empty के लिए वैकल्पिक विशेषता सेटर्स।
सारांश
सार्वजनिक गुण |
---|
init_ = false | bool |
सार्वजनिक समारोह |
---|
Init (bool x) | यदि सही है, तो लौटाए गए टेंसर को dtype के डिफ़ॉल्ट मान के साथ प्रारंभ करें। |
सार्वजनिक गुण
इस में_
bool tensorflow::ops::Empty::Attrs::init_ = false
सार्वजनिक समारोह
इस में
TF_MUST_USE_RESULT Attrs tensorflow::ops::Empty::Attrs::Init(
bool x
)
यदि सही है, तो लौटाए गए टेंसर को dtype के डिफ़ॉल्ट मान के साथ प्रारंभ करें।
अन्यथा, कार्यान्वयन टेंसर की सामग्री को प्रारंभ न करने के लिए स्वतंत्र है।
डिफ़ॉल्ट से असत्य
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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::Empty::Attrs Struct Reference\n\ntensorflow::ops::Empty::Attrs\n=============================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [Empty](/versions/r2.0/api_docs/cc/class/tensorflow/ops/empty#classtensorflow_1_1ops_1_1_empty).\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------|--------|\n| [init_](#structtensorflow_1_1ops_1_1_empty_1_1_attrs_1adb5b1a4761d83ec50f0912bcb08f1293)` = false` | `bool` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Init](#structtensorflow_1_1ops_1_1_empty_1_1_attrs_1a96c0e1654265db0e2bf14017a289eb09)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.0/api_docs/cc/struct/tensorflow/ops/empty/attrs#structtensorflow_1_1ops_1_1_empty_1_1_attrs) If True, initialize the returned tensor with the default value of dtype. |\n\nPublic attributes\n-----------------\n\n### init_\n\n```scdoc\nbool tensorflow::ops::Empty::Attrs::init_ = false\n``` \n\nPublic functions\n----------------\n\n### Init\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Empty::Attrs::Init(\n bool x\n)\n``` \nIf True, initialize the returned tensor with the default value of dtype.\n\nOtherwise, the implementation is free not to initializethe tensor's content.\n\nDefaults to false"]]