tensorflow:: ops:: DecodeRaw

#include <parsing_ops.h>

Zinterpretuj bajty ciągu jako wektor liczb.

Streszczenie

Argumenty:

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

Atrybuty opcjonalne (patrz Attrs ):

  • little_endian: Czy bytes wejściowe są w kolejności little-endian. Ignorowane w przypadku wartości out_type przechowywanych w jednym bajcie, takich jak uint8 .

Zwroty:

  • Output : Tensor o jednym wymiarze większym niż bytes wejściowe. Dodany wymiar będzie miał rozmiar równy długości elementów bytes podzielonej przez liczbę bajtów, reprezentującą 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:: Attrs

Opcjonalne settery atrybutów dla DecodeRaw .

Atrybuty publiczne

działanie

Operation operation

wyjście

::tensorflow::Output output

Funkcje publiczne

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
)

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Publiczne funkcje statyczne

LittleEndian

Attrs LittleEndian(
  bool x
)