Spec-Zone.ru › TensorFlow C++ 2.3

tensorflow::ops::EncodeBase64

#include <string_ops.h>

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

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

Для получения дополнительной информации о формате base64 обратитесь к следующей статье: en.wikipedia.org/wiki/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 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

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

Pad

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

Spec-Zone.ru

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