Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TorchSSL/TorchSSL
/ Color
Function
Color
datasets/augmentation/randaugment.py:24–26 ·
view source on GitHub ↗
(img, v)
Source
from the content-addressed store, hash-verified
22
23
24
def
Color(img, v):
25
assert v >= 0.0
26
return
PIL.ImageEnhance.Color(img).enhance(v)
27
28
29
def
Contrast(img, v):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected