tensorflow:: ops:: EncodeBase64

#include <string_ops.h>

Encode strings into web-safe base64 format.

Summary

Refer to the following article for more information on base64 format: en.wikipedia.org/wiki/Base64. Base64 strings may have padding with '=' at the end so that the encoded has length multiple of 4. See Padding section of the link above.

Web-safe means that the encoder uses - and _ instead of + and /.

Args:

  • scope: A Scope object
  • input: Strings to be encoded.

Optional attributes (see Attrs ):

  • pad: Bool whether padding is applied at the ends.

Returns:

Constructors and Destructors

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

Public attributes

operation
output

Public functions

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Public static functions

Pad (bool x)

Structs

tensorflow:: ops:: EncodeBase64:: Attrs

Optional attribute setters for EncodeBase64 .

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

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 

Public static functions

Pad

Attrs Pad(
  bool x
)