tf.io.decode_base64

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.