tensorflow :: ops :: Placeholder

#include <array_ops.h>

Operasi placeholder untuk nilai yang akan dimasukkan ke dalam penghitungan.

Ringkasan

NB Operasi ini akan gagal dengan kesalahan jika dijalankan. Ini dimaksudkan sebagai cara untuk merepresentasikan nilai yang akan selalu diumpankan, dan untuk menyediakan attrs yang memungkinkan nilai pengumpanan untuk diperiksa saat runtime.

Argumen:

  • scope: Objek Scope
  • dtype: Jenis elemen di tensor.

Atribut opsional (lihat Attrs ):

  • shape: (Opsional) Bentuk tensor. Jika bentuk memiliki 0 dimensi, bentuk tersebut tidak dibatasi.

Pengembalian:

  • Output : Tensor placeholder yang harus diganti menggunakan mekanisme umpan.

Pembuat dan Penghancur

Placeholder (const :: tensorflow::Scope & scope, DataType dtype)
Placeholder (const :: tensorflow::Scope & scope, DataType dtype, const Placeholder::Attrs & attrs)

Atribut publik

operation
output

Fungsi publik

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

Fungsi statis publik

Shape (PartialTensorShape x)

Structs

tensorflow :: ops :: Placeholder :: Attrs

Penyetel atribut opsional untuk Placeholder .

Atribut publik

operasi

Operation operation

keluaran

::tensorflow::Output output

Fungsi publik

Placeholder

 Placeholder(
  const ::tensorflow::Scope & scope,
  DataType dtype
)

Placeholder

 Placeholder(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  const Placeholder::Attrs & attrs
)

simpul

::tensorflow::Node * node() const 

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Keluaran

 operator::tensorflow::Output() const 

Fungsi statis publik

Bentuk

Attrs Shape(
  PartialTensorShape x
)