diff --git a/tensorflow_addons/text/crf.py b/tensorflow_addons/text/crf.py index 3820b08a94..b0763c9545 100644 --- a/tensorflow_addons/text/crf.py +++ b/tensorflow_addons/text/crf.py @@ -524,7 +524,7 @@ def _scan_fn(state, inputs): def crf_decode( potentials: TensorLike, transition_params: TensorLike, sequence_length: TensorLike -) -> tf.Tensor: +) -> Tuple[tf.Tensor, tf.Tensor]: """Decode the highest scoring sequence of tags. Args: