tensoreflusso:: ops:: DecodeRaw

#include <parsing_ops.h>

Reinterpretare i byte di una stringa come un vettore di numeri.

Riepilogo

Argomenti:

  • scope: un oggetto Scope
  • byte: tutti gli elementi devono avere la stessa lunghezza.

Attributi facoltativi (vedi Attrs ):

  • little_endian: indica se i bytes di input sono in ordine little-endian. Ignorato per i valori out_type archiviati in un singolo byte come uint8 .

Ritorna:

  • Output : un tensore con una dimensione in più rispetto ai bytes di input. La dimensione aggiunta avrà una dimensione pari alla lunghezza degli elementi di bytes divisa per il numero di byte per rappresentare out_type .

Costruttori e distruttori

DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type)
DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type, const DecodeRaw::Attrs & attrs)

Attributi pubblici

operation
output

Funzioni pubbliche

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

Funzioni pubbliche statiche

LittleEndian (bool x)

Strutture

tensorflow:: ops:: DecodeRaw:: Attrs

Setter di attributi facoltativi per DecodeRaw .

Attributi pubblici

operazione

Operation operation

produzione

::tensorflow::Output output

Funzioni pubbliche

DecodeRaw

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type
)

DecodeRaw

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type,
  const DecodeRaw::Attrs & attrs
)

nodo

::tensorflow::Node * node() const 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensorflow::Output

 operator::tensorflow::Output() const 

Funzioni pubbliche statiche

LittleEndian

Attrs LittleEndian(
  bool x
)