tensorflow:: ops:: DecodePaddedRaw

#include <parsing_ops.h>

Zinterpretuj bajty ciągu jako wektor liczb.

Streszczenie

Argumenty:

  • zakres: obiekt zakresu
  • input_bytes: Tensor ciągu znaków do zdekodowania.
  • fixed_length: Długość w bajtach dla każdego elementu zdekodowanego wyniku. Musi być wielokrotnością rozmiaru typu wyjściowego.

Atrybuty opcjonalne (patrz Attrs ):

  • little_endian: Czy dane wejściowe input_bytes 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

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)

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:: DecodePaddedRaw:: Attrs

Opcjonalne settery atrybutów dla DecodePaddedRaw .

Atrybuty publiczne

działanie

Operation operation

wyjście

::tensorflow::Output output

Funkcje publiczne

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
)

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
)