tensorflow:: ops:: Variable
#include <state_ops.h>একটি টেনসর আকারে অবস্থা ধারণ করে যা বিভিন্ন ধাপে অপরিবর্তিত থাকে।
সারসংক্ষেপ
টেনসরের অবস্থার একটি রেফারেন্স আউটপুট করে যাতে এটি পড়া বা পরিবর্তন করা যায়। করণীয় (zhifengc/mrry): টেনসরফ্লোতে স্টেট শেয়ারিং সম্পর্কে আরও বিস্তারিত একটি ডকুমেন্টের পয়েন্টার যোগ করা হয়েছে।
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
- আকৃতি: পরিবর্তনশীল টেনসরের আকৃতি।
- dtype: ভেরিয়েবল টেনসরের উপাদানগুলোর ধরন।
ঐচ্ছিক অ্যাট্রিবিউটসমূহ (দেখুন Attrs ):
- কন্টেইনার: যদি এটি খালি না থাকে, তবে এই ভেরিয়েবলটি প্রদত্ত কন্টেইনারে রাখা হয়। অন্যথায়, একটি ডিফল্ট কন্টেইনার ব্যবহৃত হয়।
- shared_name: যদি ভেরিয়েবলটি খালি না থাকে, তবে প্রদত্ত বাকেটে এই shared_name ব্যবহার করে ভেরিয়েবলটির নামকরণ করা হয়। অন্যথায়, এর পরিবর্তে নোডের নামটি ব্যবহৃত হয়।
ফেরত:
-
Output: টেনসর ভেরিয়েবলটির একটি রেফারেন্স।
নির্মাতা এবং ধ্বংসকারী | |
|---|---|
Variable (const :: tensorflow::Scope & scope, PartialTensorShape shape, DataType dtype) | |
Variable (const :: tensorflow::Scope & scope, PartialTensorShape shape, DataType dtype, const Variable::Attrs & attrs) |
জনসাধারণের বৈশিষ্ট্য | |
|---|---|
operation | |
ref | |
জনসাধারণের কার্যাবলী | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
পাবলিক স্ট্যাটিক ফাংশন | |
|---|---|
Container (StringPiece x) | |
SharedName (StringPiece x) | |
কাঠামো | |
|---|---|
| tensorflow:: ops:: Variable:: Attrs | ভেরিয়েবলের জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার। |
জনসাধারণের বৈশিষ্ট্য
অপারেশন
Operation operation
রেফারেন্স
::tensorflow::Output ref
জনসাধারণের কার্যাবলী
পরিবর্তনশীল
Variable( const ::tensorflow::Scope & scope, PartialTensorShape shape, DataType dtype )
পরিবর্তনশীল
Variable( const ::tensorflow::Scope & scope, PartialTensorShape shape, DataType dtype, const Variable::Attrs & attrs )
নোড
::tensorflow::Node * node() const
অপারেটর::টেনসরফ্লো::ইনপুট
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
কন্টেইনার
Attrs Container( StringPiece x )
শেয়ারডনেম
Attrs SharedName( StringPiece x )