def shear_y(image, level, replace):
    'Equivalent of PIL Shearing in Y dimension.'
    image = image_ops.transform(wrap(image), [1.0, 0.0, 0.0, level, 1.0, 0.0, 0.0, 0.0])
    return unwrap(image, replace)
Equivalent of PIL Shearing in Y dimension.
def shear_y(image, level, replace):
    
    image = image_ops.transform(wrap(image), [1.0, 0.0, 0.0, level, 1.0, 0.0, 0.0, 0.0])
    return unwrap(image, replace)