TensorFlow

API

 tf.keras / preprocessing / preprocessing.image.apply_affine_transform


Performs a channel shift.

x Input tensor. Must be 3D.
intensity Transformation intensity.
channel_axis Index of axis for channels in the input tensor.

Numpy image tensor.

此页内容是否对您有帮助