تدفق التوتر:: العمليات:: فارغ
#include <array_ops.h>
إنشاء موتر بالشكل المحدد.
ملخص
تقوم هذه العملية بإنشاء موتر من shape
و dtype
.
الحجج:
- النطاق: كائن النطاق
- الشكل: 1-د. يمثل شكل موتر الإخراج.
السمات الاختيارية (انظر Attrs
):
- init: إذا كان True، قم بتهيئة الموتر الذي تم إرجاعه بالقيمة الافتراضية 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) |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
الهياكل | |
---|---|
Tensorflow:: ops:: فارغ:: Attrs | محددات السمات الاختيارية للملفات الفارغة . |
الصفات العامة
عملية
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
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const
وظائف ثابتة العامة
الحرف الأول
Attrs Init( bool x )