Attend the Women in ML Symposium on December 7 Register now

tfa.image.shear_x

Stay organized with collections Save and categorize content based on your preferences.

Perform shear operation on an image (x-axis).

image A 3D image Tensor.
level A float denoting shear element along y-axis
replace A one or three value 1D tensor to fill empty pixels.

Transformed image along X or Y axis, with space outside image filled with replace.