tensorflow:: عملیات:: خالی

#include <array_ops.h>

یک تانسور با شکل داده شده ایجاد می‌کند.

خلاصه

این عملیات یک تانسور از shape و dtype ایجاد می‌کند.

استدلال‌ها:

  • دامنه: یک شیء دامنه
  • شکل: ۱-بعدی. شکل تانسور خروجی را نشان می‌دهد.

ویژگی‌های اختیاری (به Attrs مراجعه کنید):

  • 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)

ساختارها

tensorflow:: عملیات:: خالی:: جاذبه‌ها

تنظیم‌کننده‌های ویژگی اختیاری برای Empty .

ویژگی‌های عمومی

عملیات

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
)