code: def test_crf_decode_zero_seq_length():
      """Test that crf_decode works when sequence_length contains one or more
      zeros."""
      inputs = tf.constant(np.ones([2, 10, 5], dtype=np.float32))
      transition_params = tf.constant(np.ones([5, 5], dtype=np.float32))
      sequence_lengths = tf.constant(np.zeros([2], dtype=np.int32))
      tags, scores = text.crf_decode(
          inputs, transition_params, sequence_lengths
      )
      assert len(tags.shape) == 2
      assert len(scores.shape) == 1
  
imports: import itertools
  from packaging.version import Version
  import pytest
  import numpy
  import tensorflow
  from tensorflow_addons import text
  from tensorflow_addons.utils import test_utils
  from numpy.testing import assert_array_equal
label_desc: Use image node_id 14 for calling a global function with example usage: test_crf_decode_zero_seq_length() without return types