tensoreflusso:: ops:: ImmutabileConst

#include <array_ops.h>

Restituisce il tensore immutabile dalla regione della memoria.

Riepilogo

L'attuale implementazione memorizza il tensore da un file.

Argomenti:

  • scope: un oggetto Scope
  • dtype: tipo del tensore restituito.
  • forma: forma del tensore restituito.
  • memory_region_name: nome della regione di memoria di sola lettura utilizzata dal tensore, vedere NewReadOnlyMemoryRegionFromFile in tensorflow::Env.

Ritorna:

  • Output : Il tensore tensore.

Costruttori e distruttori

ImmutableConst (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, StringPiece memory_region_name)

Attributi pubblici

operation
tensor

Funzioni pubbliche

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

Attributi pubblici

operazione

Operation operation

tensore

::tensorflow::Output tensor

Funzioni pubbliche

ImmutabileConst

 ImmutableConst(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape,
  StringPiece memory_region_name
)

nodo

::tensorflow::Node * node() const 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensorflow::Output

 operator::tensorflow::Output() const