MCPcopy Index your code
hub / github.com/PyGCL/PyGCL / sample

Method sample

GCL/models/samplers.py:17–18  ·  view source on GitHub ↗
(self, anchor, sample, *args, **kwargs)

Source from the content-addressed store, hash-verified

15
16 @abstractmethod
17 def sample(self, anchor, sample, *args, **kwargs):
18 pass
19
20 @staticmethod
21 def add_intraview_negs(anchor, sample, pos_mask, neg_mask):

Callers 4

__call__Method · 0.95
mixupFunction · 0.45
multiinstance_mixupFunction · 0.45
drop_nodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected