tensor akışı:: işlem:: Boş

#include <array_ops.h>

Verilen şekle sahip bir tensör oluşturur.

Özet

Bu işlem bir shape ve dtype tensörü oluşturur.

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • şekil: 1-D. Çıkış tensörünün şeklini temsil eder.

İsteğe bağlı özellikler (bkz. Attrs ):

  • init: True ise, döndürülen tensörü varsayılan dtype değeriyle başlatın. Aksi takdirde uygulama tensörün içeriğini başlatmamakta özgürdür.

İadeler:

Yapıcılar ve Yıkıcılar

Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype)
Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs)

Genel özellikler

operation
output

Kamu işlevleri

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Genel statik işlevler

Init (bool x)

Yapılar

tensorflow:: ops:: Boş:: Öznitelikler

Empty için isteğe bağlı özellik ayarlayıcılar.

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamu işlevleri

Boş

 Empty(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype
)

Boş

 Empty(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype,
  const Empty::Attrs & attrs
)

düğüm

::tensorflow::Node * node() const 

operatör::tensorflow::Giriş

 operator::tensorflow::Input() const 

operatör::tensorflow::Çıktı

 operator::tensorflow::Output() const 

Genel statik işlevler

İçinde

Attrs Init(
  bool x
)