Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HobbitLong/SupContrast
/ __call__
Method
__call__
util.py:14–15 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
12
self.transform = transform
13
14
def
__call__(self, x):
15
return
[self.transform(x), self.transform(x)]
16
17
18
class
AverageMeter(object):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected