tensoreflusso:: ops:: Segnaposto

#include <array_ops.h>

Un'operazione segnaposto per un valore che verrà inserito nel calcolo.

Riepilogo

NB Questa operazione fallirà con errore se eseguita. È inteso come un modo per rappresentare un valore che verrà sempre inserito e per fornire attributi che consentano di controllare il valore inserito in fase di esecuzione.

Argomenti:

  • scope: un oggetto Scope
  • dtype: il tipo di elementi nel tensore.

Attributi facoltativi (vedi Attrs ):

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

Ritorna:

  • 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 pubbliche statiche

Shape (PartialTensorShape x)

Strutture

tensorflow:: ops:: Segnaposto:: Attrs

Setter di attributi facoltativi per Placeholder .

Attributi pubblici

operazione

Operation operation

produzione

::tensorflow::Output output

Funzioni pubbliche

Segnaposto

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

Segnaposto

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

nodo

::tensorflow::Node * node() const 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensorflow::Output

 operator::tensorflow::Output() const 

Funzioni pubbliche statiche

Forma

Attrs Shape(
  PartialTensorShape x
)