tensoreflusso:: ops:: DecodePaddedRaw

#include <parsing_ops.h>

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

Riepilogo

Argomenti:

  • scope: un oggetto Scope
  • input_bytes: tensore della stringa da decodificare.
  • Fixed_length: lunghezza in byte per ogni elemento dell'output decodificato. Deve essere un multiplo della dimensione del tipo di output.

Attributi facoltativi (vedi Attrs ):

  • little_endian: se l'input input_bytes è 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

DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type)
DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type, const DecodePaddedRaw::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:: DecodePaddedRaw:: Attrs

Setter di attributi facoltativi per DecodePaddedRaw .

Attributi pubblici

operazione

Operation operation

produzione

::tensorflow::Output output

Funzioni pubbliche

DecodePaddedRaw

 DecodePaddedRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_bytes,
  ::tensorflow::Input fixed_length,
  DataType out_type
)

DecodePaddedRaw

 DecodePaddedRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_bytes,
  ::tensorflow::Input fixed_length,
  DataType out_type,
  const DecodePaddedRaw::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
)