Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::DecodeRaw

#include <parsing_ops.h>

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

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

Аргументы:

  • scope: Объект Scope
  • bytes: Все элементы должны иметь одинаковую длину.

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

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

Возвращает:

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

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

Публичные атрибуты

operation

Operation operation

output

::tensorflow::Output output

Публичные функции

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
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

Публичные статические функции

LittleEndian

Attrs LittleEndian(
  bool x
)

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

Spec-Zone.ru

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