সেন্সরফ্লো :: অপস :: খালি
#include <array_ops.h>
প্রদত্ত আকারের সাথে একটি টেনসর তৈরি করে।
সারসংক্ষেপ
এই অপারেশনটি shape
এবং dtype
একটি dtype
।
যুক্তি:
- সুযোগ: একটি স্কোপ অবজেক্ট
- আকৃতি: 1-ডি। আউটপুট টেনসর এর আকার প্রতিনিধিত্ব করে।
- init: যদি এটি সত্য হয় তবে ফেরত টেনসরটি dtype এর ডিফল্ট মান দিয়ে শুরু করুন। অন্যথায়, বাস্তবায়নটি টেনসারের সামগ্রীর সূচনা না করেই বিনামূল্যে।
রিটার্নস:
নির্মাণকারী এবং ধ্বংসকারী | |
---|---|
Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype) | |
Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs) |
জনসাধারণের গুণাবলী | |
---|---|
operation | |
output |
পাবলিক ফাংশন | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
পাবলিক স্ট্যাটিক ফাংশন | |
---|---|
Init (bool x) |
স্ট্রাক্টস | |
---|---|
টেনসরফ্লো :: অপ্স :: খালি :: অ্যাটারস | খালি জন্য alচ্ছিক বৈশিষ্ট্য সেটটার। |
জনসাধারণের গুণাবলী
অপারেশন
Operation operation
আউটপুট
::tensorflow::Output output
পাবলিক ফাংশন
খালি
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
খালি
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs )
নোড
::tensorflow::Node * node() const
অপারেটর :: টেনসরফ্লো :: ইনপুট
operator::tensorflow::Input() const
অপারেটর :: টেনসরফ্লো :: আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
এটা
Attrs Init( bool x )