TensorFlow

API

 tf.keras / preprocessing / preprocessing.image.Overview


Performs a brightness shift.

x Input tensor. Must be 3D.
brightness Float. The new brightness value.
channel_axis Index of axis for channels in the input tensor.

Numpy image tensor.

ValueError if brightness_range isn't a tuple.

此页内容是否对您有帮助