transform.Resize ================ .. py:class:: transform.Resize(width, height, resize_target=True, keep_aspect_ratio=False, ensure_multiple_of=1, resize_method='lower_bound', image_interpolation_method=cv2.INTER_AREA) Bases: :py:obj:`object` Resize sample to given size (width, height). .. py:method:: constrain_to_multiple_of(x, min_val=0, max_val=None) .. py:method:: get_size(width, height) .. py:method:: __call__(sample)