matx.vision.tv_transforms package¶
- class matx.vision.tv_transforms.CenterCrop(size: List[int], device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.ColorJitter(brightness: List[float] = [0], contrast: List[float] = [0], saturation: List[float] = [0], hue: List[float] = [0], device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.Compose(device_id: int, transforms: List[Any])[source]¶
Bases:
object
- class matx.vision.tv_transforms.ConvertImageDtype(dtype: str, global_scale: float = 1.0, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.CvtColor(color_code: str, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.Decode(to_rgb: bool = False, pool_size: int = 8, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.GaussianBlur(kernel_size: List[int], sigma: List[float] = [0.1, 2.0], device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.Grayscale(num_output_channels: int = 1, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.Normalize(mean: List[float], std: List[float], global_scale: float = 1.0, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.Pad(padding: List[int], fill: List[int] = [0], padding_mode: str = 'constant', device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomAdjustSharpness(sharpness_factor: float, p: float = 0.5, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomAffine(degrees: List[float], translate: List[float] = [], scale: List[float] = [], shear: List[float] = [], interpolation: str = 'nearest', fill: List[float] = [], device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomAutocontrast(p: float = 0.5, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomCrop(size: List[int], padding: List[int], pad_if_needed: bool = False, fill: List[int] = [0], padding_mode: str = 'constant', device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomEqualize(p: float = 0.5, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomGrayscale(p: float = 0.1, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomHorizontalFlip(p: float = 0.5, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomInvert(p: float = 0.5, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomPerspective(distortion_scale: float = 0.5, interpolation: str = 'bilinear', fill: List[float] = [], p: float = 0.5, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomPosterize(bits: int, p: float = 0.5, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomResizedCrop(size: List[int], scale: Tuple[float, float] = (0.08, 1.0), ratio: Tuple[float, float] = (0.75, 1.3333333333333333), interpolation: str = 'bilinear', device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomRotation(degrees: List[float], interpolation: str = 'nearest', expand: bool = False, center: List[int] = [], fill: List[float] = [], device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomSolarize(threshold: float, p: float = 0.5, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.RandomVerticalFlip(p: float = 0.5, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.Resize(size: List[int], interpolation: str = 'bilinear', resize_mode: str = '', max_size: int = 0, device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.Stack(device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.ToTensor(device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass
- class matx.vision.tv_transforms.Transpose(src_fmt: str = 'NHWC', dst_fmt: str = 'NCHW', device_id: int = -2, sync: int = 0)[source]¶
Bases:
BaseInterfaceClass