def translate_x(image, pixels, replace):
    'Equivalent of PIL Translate in X dimension.'
    image = image_ops.translate(wrap(image), [(- pixels), 0])
    return unwrap(image, replace)
Equivalent of PIL Translate in X dimension.
def translate_x(image, pixels, replace):
    
    image = image_ops.translate(wrap(image), [(- pixels), 0])
    return unwrap(image, replace)