#include <string_ops.h>
Encode strings into web-safe base64 format.
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 /.
Arguments:
Optional attributes (see Attrs
):
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 | |
---|---|
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. |
::tensorflow::Output output
EncodeBase64( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
EncodeBase64( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const EncodeBase64::Attrs & attrs )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs Pad( bool x )
© 2018 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/api_docs/cc/class/tensorflow/ops/encode-base64.html