Spec-Zone.ru › TensorFlow C++

tensorflow::ops::DecodeCompressed

#include <parsing_ops.h>

Распаковывает строки.

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

Этот оператор распаковывает каждый элемент входного bytes Tensor, который предполагается сжатым с помощью заданного compression_type.

Результат — строковая Tensor того же размера, что и bytes, каждый элемент содержит данные, распакованные из соответствующего элемента в bytes.

Аргументы:

  • scope: Объект Scope
  • bytes: Tensor типа string, который содержит сжатые данные.

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

  • compression_type: Скаляр, содержащий либо (i) пустую строку (без сжатия), либо (ii) "ZLIB", либо (iii) "GZIP".

Возвращает:

  • Output: Tensor того же размера, что и входной bytes, распакованный из bytes.
Конструкторы и деструкторы
DecodeCompressed(const ::tensorflow::Scope & scope, ::tensorflow::Input bytes)
DecodeCompressed(const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, const DecodeCompressed::Attrs & attrs)
Публичные атрибуты
operation
Operation
output
::tensorflow::Output
Публичные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Публичные статические функции
CompressionType(StringPiece x)
Attrs
Структуры
tensorflow::ops::DecodeCompressed::Attrs

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

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

operation

Operation operation

output

::tensorflow::Output output

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

DecodeCompressed

 DecodeCompressed(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes
)

DecodeCompressed

 DecodeCompressed(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  const DecodeCompressed::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

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

CompressionType

Attrs CompressionType(
  StringPiece 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-compressed

Spec-Zone.ru

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