code: def test_crf_log_norm_zero_seq_length(dtype):
      """Test `crf_log_norm` when `sequence_lengths` contains one or more
      zeros."""
      inputs = tf.constant(np.ones([2, 10, 5], dtype=dtype))
      transition_params = tf.constant(np.ones([5, 5], dtype=dtype))
      sequence_lengths = tf.constant(np.zeros([2], dtype=np.int32))
      expected_log_norm = np.zeros([2], dtype=dtype)
      log_norm = text.crf_log_norm(
          inputs, sequence_lengths, transition_params
      )
      test_utils.assert_allclose_according_to_type(
          log_norm, expected_log_norm
      )
  
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 9 for calling a global function with example usage: test_crf_log_norm_zero_seq_length(dtype) without return types