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