MCPcopy Create free account
hub / github.com/FLC777/GLAT / build_sampler

Method build_sampler

fairseq/data/multilingual/sampling_method.py:59–60  ·  view source on GitHub ↗
(args, task)

Source from the content-addressed store, hash-verified

57
58 @staticmethod
59 def build_sampler(args, task):
60 return SamplingMethod(args, task)
61
62 def __init__(self, args, task):
63 self.args = args

Callers 1

__init__Method · 0.80

Calls 1

SamplingMethodClass · 0.85

Tested by

no test coverage detected