code: def test_compute_sequence_probability():
      inputs = np.array([0.7, 0.4, 0.6])
  
      sequence_probability = feature_utils.compute_sequence_probability(
          inputs, max_sequence_length=2, return_log_prob=False
      )
  
      assert np.allclose(sequence_probability, [0.28])
  
file_path: ludwig/tests/ludwig/features/test_feature_utils.py
imports: import numpy
  import pytest
  import torch
  from ludwig.features import feature_utils
label_desc: Use image node_id 4 for calling a global function with example usage: test_compute_sequence_probability() without return types