-
Notifications
You must be signed in to change notification settings - Fork 7.2k
add support for fine-grained tolerance settings #6921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,11 +61,10 @@ def __init__( | |
self.reference_inputs_fn = reference_inputs_fn | ||
|
||
|
||
DEFAULT_IMAGE_CLOSENESS_KWARGS = dict( | ||
atol=1e-5, | ||
rtol=0, | ||
agg_method="mean", | ||
) | ||
DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS = { | ||
(("TestKernels", "test_against_reference"), torch.float32, "cpu"): dict(atol=1e-5, rtol=0, agg_method="mean"), | ||
(("TestKernels", "test_against_reference"), torch.uint8, "cpu"): dict(atol=1e-5, rtol=0, agg_method="mean"), | ||
} | ||
Comment on lines
+64
to
+67
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Two lessons here:
|
||
|
||
|
||
def pil_reference_wrapper(pil_kernel): | ||
|
@@ -176,7 +175,7 @@ def reference_inputs_flip_bounding_box(): | |
sample_inputs_fn=sample_inputs_horizontal_flip_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.horizontal_flip_image_pil), | ||
reference_inputs_fn=reference_inputs_horizontal_flip_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.horizontal_flip_bounding_box, | ||
|
@@ -320,7 +319,7 @@ def reference_inputs_resize_bounding_box(): | |
sample_inputs_fn=sample_inputs_resize_image_tensor, | ||
reference_fn=reference_resize_image_tensor, | ||
reference_inputs_fn=reference_inputs_resize_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
test_marks=[ | ||
xfail_jit_python_scalar_arg("size"), | ||
], | ||
|
@@ -339,7 +338,7 @@ def reference_inputs_resize_bounding_box(): | |
sample_inputs_fn=sample_inputs_resize_mask, | ||
reference_fn=reference_resize_mask, | ||
reference_inputs_fn=reference_inputs_resize_mask, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
test_marks=[ | ||
xfail_jit_python_scalar_arg("size"), | ||
], | ||
|
@@ -556,7 +555,7 @@ def sample_inputs_affine_video(): | |
sample_inputs_fn=sample_inputs_affine_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.affine_image_pil), | ||
reference_inputs_fn=reference_inputs_affine_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
test_marks=[ | ||
xfail_jit_python_scalar_arg("shear"), | ||
xfail_jit_tuple_instead_of_list("fill"), | ||
|
@@ -569,7 +568,9 @@ def sample_inputs_affine_video(): | |
sample_inputs_fn=sample_inputs_affine_bounding_box, | ||
reference_fn=reference_affine_bounding_box, | ||
reference_inputs_fn=reference_inputs_affine_bounding_box, | ||
closeness_kwargs=dict(atol=1, rtol=0), | ||
closeness_kwargs={ | ||
(("TestKernels", "test_against_reference"), torch.int64, "cpu"): dict(atol=1, rtol=0), | ||
}, | ||
test_marks=[ | ||
xfail_jit_python_scalar_arg("shear"), | ||
], | ||
|
@@ -579,7 +580,7 @@ def sample_inputs_affine_video(): | |
sample_inputs_fn=sample_inputs_affine_mask, | ||
reference_fn=reference_affine_mask, | ||
reference_inputs_fn=reference_inputs_resize_mask, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
test_marks=[ | ||
xfail_jit_python_scalar_arg("shear"), | ||
], | ||
|
@@ -668,7 +669,7 @@ def sample_inputs_convert_color_space_video(): | |
sample_inputs_fn=sample_inputs_convert_color_space_image_tensor, | ||
reference_fn=reference_convert_color_space_image_tensor, | ||
reference_inputs_fn=reference_inputs_convert_color_space_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.convert_color_space_video, | ||
|
@@ -729,7 +730,7 @@ def reference_vertical_flip_bounding_box(bounding_box, *, format, spatial_size): | |
sample_inputs_fn=sample_inputs_vertical_flip_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.vertical_flip_image_pil), | ||
reference_inputs_fn=reference_inputs_vertical_flip_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.vertical_flip_bounding_box, | ||
|
@@ -820,7 +821,7 @@ def sample_inputs_rotate_video(): | |
sample_inputs_fn=sample_inputs_rotate_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.rotate_image_pil), | ||
reference_inputs_fn=reference_inputs_rotate_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
test_marks=[ | ||
xfail_jit_tuple_instead_of_list("fill"), | ||
# TODO: check if this is a regression since it seems that should be supported if `int` is ok | ||
|
@@ -836,7 +837,7 @@ def sample_inputs_rotate_video(): | |
sample_inputs_fn=sample_inputs_rotate_mask, | ||
reference_fn=reference_rotate_mask, | ||
reference_inputs_fn=reference_inputs_rotate_mask, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.rotate_video, | ||
|
@@ -918,7 +919,7 @@ def reference_inputs_crop_bounding_box(): | |
sample_inputs_fn=sample_inputs_crop_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.crop_image_pil), | ||
reference_inputs_fn=reference_inputs_crop_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.crop_bounding_box, | ||
|
@@ -931,7 +932,7 @@ def reference_inputs_crop_bounding_box(): | |
sample_inputs_fn=sample_inputs_crop_mask, | ||
reference_fn=pil_reference_wrapper(F.crop_image_pil), | ||
reference_inputs_fn=reference_inputs_crop_mask, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.crop_video, | ||
|
@@ -1010,7 +1011,7 @@ def sample_inputs_resized_crop_video(): | |
sample_inputs_fn=sample_inputs_resized_crop_image_tensor, | ||
reference_fn=reference_resized_crop_image_tensor, | ||
reference_inputs_fn=reference_inputs_resized_crop_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.resized_crop_bounding_box, | ||
|
@@ -1021,7 +1022,7 @@ def sample_inputs_resized_crop_video(): | |
sample_inputs_fn=sample_inputs_resized_crop_mask, | ||
reference_fn=pil_reference_wrapper(F.resized_crop_image_pil), | ||
reference_inputs_fn=reference_inputs_resized_crop_mask, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.resized_crop_video, | ||
|
@@ -1144,7 +1145,7 @@ def reference_inputs_pad_bounding_box(): | |
sample_inputs_fn=sample_inputs_pad_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.pad_image_pil), | ||
reference_inputs_fn=reference_inputs_pad_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
test_marks=[ | ||
xfail_jit_tuple_instead_of_list("padding"), | ||
xfail_jit_tuple_instead_of_list("fill"), | ||
|
@@ -1166,7 +1167,7 @@ def reference_inputs_pad_bounding_box(): | |
sample_inputs_fn=sample_inputs_pad_mask, | ||
reference_fn=pil_reference_wrapper(F.pad_image_pil), | ||
reference_inputs_fn=reference_inputs_pad_mask, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.pad_video, | ||
|
@@ -1225,7 +1226,7 @@ def sample_inputs_perspective_video(): | |
sample_inputs_fn=sample_inputs_perspective_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.perspective_image_pil), | ||
reference_inputs_fn=reference_inputs_perspective_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.perspective_bounding_box, | ||
|
@@ -1236,7 +1237,7 @@ def sample_inputs_perspective_video(): | |
sample_inputs_fn=sample_inputs_perspective_mask, | ||
reference_fn=pil_reference_wrapper(F.perspective_image_pil), | ||
reference_inputs_fn=reference_inputs_perspective_mask, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.perspective_video, | ||
|
@@ -1306,7 +1307,7 @@ def sample_inputs_elastic_video(): | |
sample_inputs_fn=sample_inputs_elastic_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.elastic_image_pil), | ||
reference_inputs_fn=reference_inputs_elastic_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.elastic_bounding_box, | ||
|
@@ -1317,7 +1318,7 @@ def sample_inputs_elastic_video(): | |
sample_inputs_fn=sample_inputs_elastic_mask, | ||
reference_fn=pil_reference_wrapper(F.elastic_image_pil), | ||
reference_inputs_fn=reference_inputs_elastic_mask, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.elastic_video, | ||
|
@@ -1387,7 +1388,7 @@ def sample_inputs_center_crop_video(): | |
sample_inputs_fn=sample_inputs_center_crop_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.center_crop_image_pil), | ||
reference_inputs_fn=reference_inputs_center_crop_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
test_marks=[ | ||
xfail_jit_python_scalar_arg("output_size"), | ||
], | ||
|
@@ -1404,7 +1405,7 @@ def sample_inputs_center_crop_video(): | |
sample_inputs_fn=sample_inputs_center_crop_mask, | ||
reference_fn=pil_reference_wrapper(F.center_crop_image_pil), | ||
reference_inputs_fn=reference_inputs_center_crop_mask, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
test_marks=[ | ||
xfail_jit_python_scalar_arg("output_size"), | ||
], | ||
|
@@ -1441,7 +1442,7 @@ def sample_inputs_gaussian_blur_video(): | |
KernelInfo( | ||
F.gaussian_blur_image_tensor, | ||
sample_inputs_fn=sample_inputs_gaussian_blur_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
test_marks=[ | ||
xfail_jit_python_scalar_arg("kernel_size"), | ||
xfail_jit_python_scalar_arg("sigma"), | ||
|
@@ -1529,7 +1530,7 @@ def sample_inputs_equalize_video(): | |
sample_inputs_fn=sample_inputs_equalize_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.equalize_image_pil), | ||
reference_inputs_fn=reference_inputs_equalize_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.equalize_video, | ||
|
@@ -1566,7 +1567,7 @@ def sample_inputs_invert_video(): | |
sample_inputs_fn=sample_inputs_invert_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.invert_image_pil), | ||
reference_inputs_fn=reference_inputs_invert_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.invert_video, | ||
|
@@ -1607,7 +1608,7 @@ def sample_inputs_posterize_video(): | |
sample_inputs_fn=sample_inputs_posterize_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.posterize_image_pil), | ||
reference_inputs_fn=reference_inputs_posterize_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.posterize_video, | ||
|
@@ -1651,7 +1652,7 @@ def sample_inputs_solarize_video(): | |
sample_inputs_fn=sample_inputs_solarize_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.solarize_image_pil), | ||
reference_inputs_fn=reference_inputs_solarize_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.solarize_video, | ||
|
@@ -1688,7 +1689,7 @@ def sample_inputs_autocontrast_video(): | |
sample_inputs_fn=sample_inputs_autocontrast_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.autocontrast_image_pil), | ||
reference_inputs_fn=reference_inputs_autocontrast_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.autocontrast_video, | ||
|
@@ -1729,7 +1730,7 @@ def sample_inputs_adjust_sharpness_video(): | |
sample_inputs_fn=sample_inputs_adjust_sharpness_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.adjust_sharpness_image_pil), | ||
reference_inputs_fn=reference_inputs_adjust_sharpness_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.adjust_sharpness_video, | ||
|
@@ -1800,7 +1801,7 @@ def sample_inputs_adjust_brightness_video(): | |
sample_inputs_fn=sample_inputs_adjust_brightness_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.adjust_brightness_image_pil), | ||
reference_inputs_fn=reference_inputs_adjust_brightness_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.adjust_brightness_video, | ||
|
@@ -1841,7 +1842,7 @@ def sample_inputs_adjust_contrast_video(): | |
sample_inputs_fn=sample_inputs_adjust_contrast_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.adjust_contrast_image_pil), | ||
reference_inputs_fn=reference_inputs_adjust_contrast_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.adjust_contrast_video, | ||
|
@@ -1886,7 +1887,7 @@ def sample_inputs_adjust_gamma_video(): | |
sample_inputs_fn=sample_inputs_adjust_gamma_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.adjust_gamma_image_pil), | ||
reference_inputs_fn=reference_inputs_adjust_gamma_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.adjust_gamma_video, | ||
|
@@ -1927,7 +1928,7 @@ def sample_inputs_adjust_hue_video(): | |
sample_inputs_fn=sample_inputs_adjust_hue_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.adjust_hue_image_pil), | ||
reference_inputs_fn=reference_inputs_adjust_hue_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.adjust_hue_video, | ||
|
@@ -1967,7 +1968,7 @@ def sample_inputs_adjust_saturation_video(): | |
sample_inputs_fn=sample_inputs_adjust_saturation_image_tensor, | ||
reference_fn=pil_reference_wrapper(F.adjust_saturation_image_pil), | ||
reference_inputs_fn=reference_inputs_adjust_saturation_image_tensor, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.adjust_saturation_video, | ||
|
@@ -2061,7 +2062,7 @@ def sample_inputs_ten_crop_video(): | |
reference_fn=pil_reference_wrapper(F.five_crop_image_pil), | ||
reference_inputs_fn=reference_inputs_five_crop_image_tensor, | ||
test_marks=_common_five_ten_crop_marks, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.five_crop_video, | ||
|
@@ -2074,7 +2075,7 @@ def sample_inputs_ten_crop_video(): | |
reference_fn=pil_reference_wrapper(F.ten_crop_image_pil), | ||
reference_inputs_fn=reference_inputs_ten_crop_image_tensor, | ||
test_marks=_common_five_ten_crop_marks, | ||
closeness_kwargs=DEFAULT_IMAGE_CLOSENESS_KWARGS, | ||
closeness_kwargs=DEFAULT_PIL_REFERENCE_CLOSENESS_KWARGS, | ||
), | ||
KernelInfo( | ||
F.ten_crop_video, | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change just moves the comments to the signature as it is done in all other related classes.