W3cubDocs

/TensorFlow Python

tf.decode_base64(input, name=None)

tf.decode_base64(input, name=None)

See the guide: Strings > Conversion

Decode web-safe base64-encoded strings.

Input may or may not have padding at the end. See EncodeBase64 for padding. Web-safe means that input must use - and _ instead of + and /.

Args:

  • input: A Tensor of type string. Base64 strings to decode.
  • name: A name for the operation (optional).

Returns:

A Tensor of type string. Decoded strings.

Defined in tensorflow/python/ops/gen_string_ops.py.

© 2017 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/python/tf/decode_base64