def METHOD_NAME(self):
    input = np.arange(25).reshape(5, 5).astype("float32")
    """
    0  1  2   3 4
    5  6  7   8 9
    10 11 12 13 14
    15 16 17 18 19
    20 21 22 23 24
    """
    output = self._simple_roialign(input, [1, 1, 3, 3], (4, 4), aligned=False)
    output_correct = self._simple_roialign(input, [1, 1, 3, 3], (4, 4), aligned=True)
    # without correction:
    old_results = [
        [7.5, 8, 8.5, 9],
        [10, 10.5, 11, 11.5],
        [12.5, 13, 13.5, 14],
        [15, 15.5, 16, 16.5],
    ]
    # with 0.5 correction:
    correct_results = [
        [4.5, 5.0, 5.5, 6.0],
        [7.0, 7.5, 8.0, 8.5],
        [9.5, 10.0, 10.5, 11.0],
        [12.0, 12.5, 13.0, 13.5],
    ]
    # This is an upsampled version of [[6, 7], [11, 12]]
    self.assertTrue(np.allclose(output.flatten(), np.asarray(old_results).flatten()))
    self.assertTrue(
        np.allclose(output_correct.flatten(), np.asarray(correct_results).flatten())
    )
    # Also see similar issues in tensorflow at
    # https://github.com/tensorflow/tensorflow/issues/26278