tensorflow:: ops:: EnsureShape
#include <array_ops.h>এটি নিশ্চিত করে যে টেনসরের আকৃতি প্রত্যাশিত আকৃতির সাথে মেলে।
সারসংক্ষেপ
ইনপুট টেনসরের আকৃতি নির্দিষ্ট আকৃতির সাথে না মিললে একটি ত্রুটি দেখায়। অন্যথায় ইনপুট টেনসরটি ফেরত দেয়।
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
- ইনপুট: একটি টেনসর, যার আকৃতি যাচাই করতে হবে।
- আকৃতি: ইনপুট টেনসরের প্রত্যাশিত (সম্ভবত আংশিকভাবে নির্দিষ্ট) আকৃতি।
ফেরত:
-
Output: ইনপুট টেনসর বা মানের অনুরূপ আকৃতি ও বিষয়বস্তুসহ একটি টেনসর।
নির্মাতা এবং ধ্বংসকারী | |
|---|---|
EnsureShape (const :: tensorflow::Scope & scope, :: tensorflow::Input input, PartialTensorShape shape) |
জনসাধারণের বৈশিষ্ট্য | |
|---|---|
operation | |
output | |
জনসাধারণের কার্যাবলী | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
জনসাধারণের বৈশিষ্ট্য
অপারেশন
Operation operation
আউটপুট
::tensorflow::Output output
জনসাধারণের কার্যাবলী
এনসিওরশেপ
EnsureShape( const ::tensorflow::Scope & scope, ::tensorflow::Input input, PartialTensorShape shape )
নোড
::tensorflow::Node * node() const
অপারেটর::টেনসরফ্লো::ইনপুট
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const