MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / __call__

Method __call__

k_diffusion/sampling.py:86–89  ·  view source on GitHub ↗
(self, t0, t1)

Source from the content-addressed store, hash-verified

84 return (a, b, 1) if a < b else (b, a, -1)
85
86 def __call__(self, t0, t1):
87 t0, t1, sign = self.sort(t0, t1)
88 w = torch.stack([tree(t0, t1) for tree in self.trees]) * (self.sign * sign)
89 return w if self.batched else w[0]
90
91
92class BrownianTreeNoiseSampler:

Callers

nothing calls this directly

Calls 1

sortMethod · 0.95

Tested by

no test coverage detected