If I recall correctly, the brightness is changed by adding a constant to the image (and clipping to e.g. uint8).
If you have a tensor in the right range, image_tensor + offset should do it.
(The contrast should be manipulated with a scalar multiplication.)