@@ -330,17 +330,17 @@ def __repr__(self) -> str:
330330class TrivialAugmentWide (torch .nn .Module ):
331331 r"""Dataset-independent data-augmentation with TrivialAugment Wide, as described in
332332 `"TrivialAugment: Tuning-free Yet State-of-the-Art Data Augmentation" <https://arxiv.org/abs/2103.10158>`.
333- If the image is torch Tensor, it should be of type torch.uint8, and it is expected
334- to have [..., 1 or 3, H, W] shape, where ... means an arbitrary number of leading dimensions.
335- If img is PIL Image, it is expected to be in mode "L" or "RGB".
336-
337- Args:
338- num_magnitude_bins (int): The number of different magnitude values.
339- interpolation (InterpolationMode): Desired interpolation enum defined by
340- :class:`torchvision.transforms.InterpolationMode`. Default is ``InterpolationMode.NEAREST``.
341- If input is Tensor, only ``InterpolationMode.NEAREST``, ``InterpolationMode.BILINEAR`` are supported.
342- fill (sequence or number, optional): Pixel fill value for the area outside the transformed
343- image. If given a number, the value is used for all bands respectively.
333+ If the image is torch Tensor, it should be of type torch.uint8, and it is expected
334+ to have [..., 1 or 3, H, W] shape, where ... means an arbitrary number of leading dimensions.
335+ If img is PIL Image, it is expected to be in mode "L" or "RGB".
336+
337+ Args:
338+ num_magnitude_bins (int): The number of different magnitude values.
339+ interpolation (InterpolationMode): Desired interpolation enum defined by
340+ :class:`torchvision.transforms.InterpolationMode`. Default is ``InterpolationMode.NEAREST``.
341+ If input is Tensor, only ``InterpolationMode.NEAREST``, ``InterpolationMode.BILINEAR`` are supported.
342+ fill (sequence or number, optional): Pixel fill value for the area outside the transformed
343+ image. If given a number, the value is used for all bands respectively.
344344 """
345345
346346 def __init__ (self , num_magnitude_bins : int = 30 , interpolation : InterpolationMode = InterpolationMode .NEAREST ,
0 commit comments