tfm.vision.augment.autocontrast

Stay organized with collections Save and categorize content based on your preferences.

Implements Autocontrast function from PIL using TF ops.

image A 3D uint8 tensor.

The image after it has had autocontrast applied to it and will be of type uint8.