def METHOD_NAME(self):
    label, logits, pred, _ = self.get_random_case()
    expected_result = self.np_metrics.compute(pred, label)
    result = self.metrics.compute(paddle.to_tensor(logits), paddle.to_tensor(label))
    self.check_output_equal(expected_result, result.numpy())