Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::EncodeBase64

#include <string_ops.h>

Кодирование строк в безопасном для веб-ресурсов формате Base64.

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

Для получения дополнительной информации о формате Base64 см. следующую статью: en.wikipedia.org/wiki/Base64. Строки Base64 могут иметь завершающие символы заполнения «=», чтобы кодированная строка имела длину, кратную 4. Смотрите раздел «Заполнение» в ссылке выше.

Безопасность для веб-ресурсов означает, что кодировщик использует символы «-» и «_» вместо «+» и «/».

Аргументы:

  • scope: Объект Scope
  • input: Строки, которые нужно закодировать.

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

  • pad: Булево значение, указывающее, применяется ли заполнение по концам.

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

  • Output: Кодированные в формате Base64 строки Input.
Конструкторы и деструкторы
EncodeBase64(const ::tensorflow::Scope & scope, ::tensorflow::Input input)
EncodeBase64(const ::tensorflow::Scope & scope, ::tensorflow::Input input, const EncodeBase64::Attrs & attrs)
Общедоступные атрибуты
operation
Operation
output
::tensorflow::Output
Общедоступные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Общедоступные статические функции
Pad(bool x)
Attrs
Структуры
tensorflow::ops::EncodeBase64::Attrs

Дополнительные атрибуты для настройки EncodeBase64.

Общедоступные атрибуты

operation

Operation operation

output

::tensorflow::Output output

Общедоступные функции

EncodeBase64

 EncodeBase64(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

EncodeBase64

 EncodeBase64(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const EncodeBase64::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

Общедоступные статические функции

Заполнение

Attrs Pad(
  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/encode-base64

Spec-Zone.ru

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