code: def test_eed_return_sentence_level_score_functional():
      """Test that eed can return sentence level scores."""
      hyp = _inputs_single_sentence_multiple_references.preds
      ref = _inputs_single_sentence_multiple_references.target
      _, sentence_eed = extended_edit_distance(
          hyp, ref, return_sentence_level_score=True
      )
      isinstance(sentence_eed, Tensor)
  
file_path: torchmetrics/tests/unittests/text/test_eed.py
imports: from functools import partial
  import pytest
  from torch import Tensor, tensor
  from torchmetrics.functional.text.eed import extended_edit_distance
  from torchmetrics.text.eed import ExtendedEditDistance
  from unittests.text.helpers import TextTester
  from unittests.text.inputs import _inputs_single_reference, _inputs_single_sentence_multiple_references
label_desc: Use image node_id 6 for calling a global function with example usage: test_eed_return_sentence_level_score_functional() without return types