przepływ tensorowy:: ops:: Dekoduj surowy

#include <parsing_ops.h>

Reinterpretuj bajty ciągu jako wektor liczb.

Streszczenie

Argumenty:

  • zakres: Obiekt Scope
  • bajty: Wszystkie elementy muszą mieć tę samą długość.

Opcjonalne atrybuty (patrz Attrs ):

  • Little_endian: Określa, czy bytes wejściowe są w kolejności Little-Endian. Ignorowane w przypadku wartości out_type przechowywanych w jednym bajcie, np. uint8 .

Zwroty:

  • Output : Tensor z jednym wymiarem więcej niż bytes wejściowe. Dodany wymiar będzie miał rozmiar równy długości elementów bytes podzielonej przez liczbę bajtów reprezentujących out_type .

Konstruktory i destruktory

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)

Atrybuty publiczne

operation
output

Funkcje publiczne

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

Publiczne funkcje statyczne

LittleEndian (bool x)

Struktury

tensorflow:: ops:: DecodeRaw:: Atrybuty

Opcjonalne ustawiacze atrybutów dla DecodeRaw .

Atrybuty publiczne

operacja

Operation operation

wyjście

::tensorflow::Output output

Funkcje publiczne

Dekoduj surowy

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

Dekoduj surowy

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

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Wejście

 operator::tensorflow::Input() const 

operator::tensorflow::Wyjście

 operator::tensorflow::Output() const 

Publiczne funkcje statyczne

LittleEndian

Attrs LittleEndian(
  bool x
)