code: def test_different_dtype():
      inputs = np.ones([16, 20, 5], dtype=np.float32)
      tags = tf.convert_to_tensor(np.ones([16, 20], dtype=np.int64))
      seq_lens = np.ones([16], dtype=np.int64) * 20
  
      loss, _ = crf_log_likelihood(
          inputs=inputs, tag_indices=tags, sequence_lengths=seq_lens
      )
  
file_path: rasa/tests/utils/tensorflow/test_crf.py
imports: import itertools
  import pytest
  import numpy
  import tensorflow
  from rasa.utils.tensorflow.crf import crf_sequence_score, crf_unary_score, crf_binary_score, crf_log_norm, crf_log_likelihood
label_desc: Use image node_id 9 for calling a global function with example usage: test_different_dtype() without return types