সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
টেনসরফ্লো :: অপস:: পরিবর্তনশীল:: Attrs
#include <state_ops.h>
ভেরিয়েবলের জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার।
সারাংশ
পাবলিক ফাংশন |
---|
Container (StringPiece x) | খালি না হলে, এই পরিবর্তনশীলটি প্রদত্ত পাত্রে স্থাপন করা হয়। |
SharedName (StringPiece x) | যদি খালি না থাকে, তাহলে এই ভেরিয়েবলের নাম দেওয়া হয় প্রদত্ত বালতিতে এই shared_name দিয়ে। |
পাবলিক বৈশিষ্ট্য
ধারক_
StringPiece tensorflow::ops::Variable::Attrs::container_ = ""
ভাগ করা_নাম_
StringPiece tensorflow::ops::Variable::Attrs::shared_name_ = ""
পাবলিক ফাংশন
ধারক
TF_MUST_USE_RESULT Attrs tensorflow::ops::Variable::Attrs::Container(
StringPiece x
)
খালি না হলে, এই পরিবর্তনশীলটি প্রদত্ত পাত্রে স্থাপন করা হয়।
অন্যথায়, একটি ডিফল্ট ধারক ব্যবহার করা হয়।
ডিফল্ট ""
শেয়ার করা নাম
TF_MUST_USE_RESULT Attrs tensorflow::ops::Variable::Attrs::SharedName(
StringPiece x
)
যদি খালি না থাকে, তাহলে এই ভেরিয়েবলের নাম দেওয়া হয় প্রদত্ত বালতিতে এই shared_name দিয়ে।
অন্যথায়, এর পরিবর্তে নোডের নাম ব্যবহার করা হয়।
ডিফল্ট ""
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-28 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-28 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# tensorflow::ops::Variable::Attrs Struct Reference\n\ntensorflow::ops::Variable::Attrs\n================================\n\n`#include \u003cstate_ops.h\u003e`\n\nOptional attribute setters for [Variable](/versions/r1.15/api_docs/cc/class/tensorflow/ops/variable#classtensorflow_1_1ops_1_1_variable).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------|---------------|\n| [container_](#structtensorflow_1_1ops_1_1_variable_1_1_attrs_1a6e4b22d4fd5ffc4577ae074f5e8326fd)` = \"\"` | `StringPiece` |\n| [shared_name_](#structtensorflow_1_1ops_1_1_variable_1_1_attrs_1ad319f0780ed16ffc06c0b37dde1d48c9)` = \"\"` | `StringPiece` |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Container](#structtensorflow_1_1ops_1_1_variable_1_1_attrs_1a03383bc7015aaa7a15753a1efd13f261)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/variable/attrs#structtensorflow_1_1ops_1_1_variable_1_1_attrs) If non-empty, this variable is placed in the given container. |\n| [SharedName](#structtensorflow_1_1ops_1_1_variable_1_1_attrs_1aa39e5eb0fe345d5dbf228ead0475f83b)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/variable/attrs#structtensorflow_1_1ops_1_1_variable_1_1_attrs) If non-empty, this variable is named in the given bucket with this shared_name. |\n\nPublic attributes\n-----------------\n\n### container_\n\n```scdoc\nStringPiece tensorflow::ops::Variable::Attrs::container_ = \"\"\n``` \n\n### shared_name_\n\n```scdoc\nStringPiece tensorflow::ops::Variable::Attrs::shared_name_ = \"\"\n``` \n\nPublic functions\n----------------\n\n### Container\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Variable::Attrs::Container(\n StringPiece x\n)\n``` \nIf non-empty, this variable is placed in the given container.\n\nOtherwise, a default container is used.\n\nDefaults to \"\" \n\n### SharedName\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Variable::Attrs::SharedName(\n StringPiece x\n)\n``` \nIf non-empty, this variable is named in the given bucket with this shared_name.\n\nOtherwise, the node name is used instead.\n\nDefaults to \"\""]]