class_docstr: Tests the rouge-l metric.
class_docstr_tok: ["Tests","the","rouge-l","metric","."]
code: def testRougeLPartialOverlap(self):
      hypotheses = np.array(
          [[1, 2, 3, 4, 5, 1, 6, 7, 0], [1, 2, 3, 4, 5, 1, 6, 8, 7]]
      )
      references = np.array(
          [
              [1, 9, 2, 3, 4, 5, 1, 10, 6, 7],
              [1, 9, 2, 3, 4, 5, 1, 10, 6, 7],
          ]
      )
      self.assertAllClose(
          rouge.rouge_l_sentence_level(hypotheses, references),
          0.837,
          atol=1e-03,
      )
  
file_path: tensor2tensor/tensor2tensor/utils/rouge_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from tensor2tensor.utils import rouge
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the TestRougeLMetric obj's underlying member method code with example usage: obj.testRougeLPartialOverlap() without return types