def METHOD_NAME(contents, name=None):
    """
    Decode Exif information from an JPEG image.
    TODO: Add additional fields besides orientation.
    Args:
      contents: A `Tensor` of type `string`. 0-D.  The JPEG-encoded image.
      name: A name for the operation (optional).
    Returns:
      A `Tensor` of type `int64` for orientation.
    """
    return core_ops.io_decode_jpeg_exif(contents, name=name)