Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TorchSSL/TorchSSL
/ Invert
Function
Invert
datasets/augmentation/randaugment.py:38–39 ·
view source on GitHub ↗
(img, _)
Source
from the content-addressed store, hash-verified
36
37
38
def
Invert(img, _):
39
return
PIL.ImageOps.invert(img)
40
41
42
def
Identity(img, v):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected