In Line 280 of the PatchMerging3D class, the order of the pad_h and pad_w arguments in _generalize_padding is incorrect.
AS-IS: x = _generalize_padding(x, pad_t, pad_w, pad_h, padding_type=self.padding_type)
TO-BE: x = _generalize_padding(x, pad_t, pad_h, pad_w, padding_type=self.padding_type)
Description of changes:
The order of arguments in '_generalize_padding' has been modified so that pad_h comes before pad_w.
--
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue:
In Line 280 of the PatchMerging3D class, the order of the pad_h and pad_w arguments in _generalize_padding is incorrect. AS-IS: x = _generalize_padding(x, pad_t, pad_w, pad_h, padding_type=self.padding_type) TO-BE: x = _generalize_padding(x, pad_t, pad_h, pad_w, padding_type=self.padding_type)
Description of changes:
The order of arguments in '_generalize_padding' has been modified so that pad_h comes before pad_w.
-- By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.