def translate_y(image, pixels):
    'Equivalent of PIL Translate in Y dimension.'
    image = tfa_image.translate_ops.translate(wrap(image), [0, (- pixels)])
    return unwrap(image)
Equivalent of PIL Translate in Y dimension.
def translate_y(image, pixels):
    
    image = tfa_image.translate_ops.translate(wrap(image), [0, (- pixels)])
    return unwrap(image)