tensorflow::ops::Placeholder

#include <array_ops.h>

Un valore segnaposto che verrà utilizzato nel calcolo.

Riepilogo

NB: Questa operazione, se eseguita, genererà un errore. È pensata per rappresentare un valore che verrà sempre fornito e per fornire attributi che consentano di verificare il valore fornito in fase di esecuzione.

Argomentazioni:

  • ambito: un oggetto Scope
  • dtype: Il tipo di elementi nel tensore.

Attributi opzionali (vedere Attrs ):

  • forma: (Opzionale) La forma del tensore. Se la forma ha 0 dimensioni, la forma non è vincolata.

Resi:

  • Output : Un tensore segnaposto che deve essere sostituito utilizzando il meccanismo di alimentazione.

Costruttori e distruttori

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

attributi pubblici

operation
output

Funzioni pubbliche

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

Funzioni statiche pubbliche

Shape (PartialTensorShape x)

Strutture

tensorflow::ops::Placeholder::Attrs

Impostatori di attributi opzionali per Placeholder .

attributi pubblici

operazione

Operation operation

produzione

::tensorflow::Output output

Funzioni pubbliche

Titolare

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

Titolare

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

nodo

::tensorflow::Node * node() const 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensoreflusso::output

 operator::tensorflow::Output() const 

Funzioni statiche pubbliche

Forma

Attrs Shape(
  PartialTensorShape x
)