WarpAffine¶
- class dragon.vm.dali.ops.WarpAffine(
 fill_value=0,
 interp_type='linear',
 **kwargs
 )[source]¶
- Apply an affine transformation to the image. - Examples: - warp_affine = dali.ops.WarpAffine() y = warp_affine(inputs['x'], matrix=[1, 0, 0, 0, 1, 0]) 
__new__¶
- static WarpAffine.__new__(
 cls,
 fill_value=0,
 interp_type='linear',
 **kwargs
 )[source]¶
- Create a - WarpAffineoperator.- Parameters:
- fill_value (number, optional) – The value to fill the empty regions.
- interp_type (str, optional, default='linear') – The interpolation method.
 
 - Returns:
- nvidia.dali.ops.WarpAffine – The operator. 
 
