Spec-Zone.ru › TensorFlow C++

tensorflow::ops::DecodePaddedRaw

#include <parsing_ops.h>

Переинтерпретировать байты строки как вектор чисел.

Краткое описание

Аргументы:

  • scope: Объект Scope
  • input_bytes: Tensor строки для декодирования.
  • fixed_length: Длина в байтах для каждого элемента декодированного вывода. Должно быть кратно размеру типа вывода.

Необязательные атрибуты (см. Attrs):

  • little_endian: Указывает, в формате little-endian хранится вход input_bytes. Игнорируется для out_type значений, хранящихся в одном байте, например, uint8

Возвращает:

  • Output: Tensor с одним дополнительным измерением по сравнению с входным bytes. Добавленное измерение будет иметь размер, равный длине элементов bytes, делённой на количество байт для представления out_type.
Конструкторы и деструкторы
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)
Общественные атрибуты
operation
Operation
output
::tensorflow::Output
Общественные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Общественные статические функции
LittleEndian(bool x)
Attrs
Структуры
tensorflow::ops::DecodePaddedRaw::Attrs

Необязательные методы установки атрибутов для DecodePaddedRaw.

Общественные атрибуты

operation

Operation operation

output

::tensorflow::Output output

Общественные функции

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
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

Общественные статические функции

LittleEndian

Attrs LittleEndian(
  bool x
)

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/decode-padded-raw

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API