Guarantees the same results given the same seed independent of how many times the function is called, and independent of global seed settings (e.g. tf.random.set_seed).
Args
image
An image tensor with 3 or more dimensions.
lower
float. Lower bound for the random contrast factor.
upper
float. Upper bound for the random contrast factor.
seed
A shape [2] Tensor, the seed to the random number generator. Must have dtype int32 or int64. (When using XLA, only int32 is allowed.)