MCPcopy Create free account
hub / github.com/TPCD/DCCL / __call__

Method __call__

project_utils/contrastive_utils.py:162–163  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

160 self.n_views = n_views
161
162 def __call__(self, x):
163 return [self.base_transform(x) for i in range(self.n_views)]
164
165
166class SupConLoss(torch.nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected