Spec-Zone.ru › TensorFlow C++ 2.9

tensorflow::ops::EncodeBase64

#include <string_ops.h>

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

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

Для получения дополнительной информации о формате base64 обратитесь к этой статье. Строки base64 могут иметь заполнители «=» в конце, чтобы длина закодированной строки была кратна 4. См. Раздел «Заполнение» в ссылке выше.

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

Аргументы:

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

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

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

Возвращает:

  • Output: Строки Input, закодированные в формате base64.
Конструкторы и деструкторы
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 

оператор::tensorflow::Input

operator::tensorflow::Input() const 

оператор::tensorflow::Output

operator::tensorflow::Output() const 

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

Заполнить

Attrs Pad(
  bool 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/versions/r2.9/api_docs/cc/class/tensorflow/ops/encode-base64

Spec-Zone.ru

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