TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.io.decode_base64

TensorFlow 1 version

Defined in generated file: python/ops/gen_string_ops.py

Decode web-safe base64-encoded strings.

Aliases:

tf.io.decode_base64(
    input,
    name=None
)

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.