Spec-Zone.ru › TensorFlow C++ 2.3

tensorflow::ops::DecodeCompressed

#include <parsing_ops.h>

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

Summary

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

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

Аргументы:

  • scope: Объект Scope
  • bytes: A Tensor строки, которая сжата.

Дополнительные атрибуты (см. Attrs):

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

Возвращаемое значение:

  • Output: A Tensor с той же формой, что и вход 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
)

© 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-compressed

Spec-Zone.ru

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