Spec-Zone.ru › TensorFlow C++ 2.3

tensorflow::ops::DecodeRaw

#include <parsing_ops.h>

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

Summary

Arguments:

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

Optional attributes (see Attrs):

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

Returns:

  • 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)
Public attributes
operation
Operation
output
::tensorflow::Output
Public functions
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Public static functions
LittleEndian(bool x)
Attrs
Structs
tensorflow::ops::DecodeRaw::Attrs

Дополнительные параметры для настройки DecodeRaw.

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

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 

Public static functions

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/r2.3/api_docs/cc/class/tensorflow/ops/decode-raw

Spec-Zone.ru

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