MCPcopy Create free account
hub / github.com/Hzfinfdu/Diffusion-BERT / sample

Method sample

sample.py:6–7  ·  view source on GitHub ↗
(self, logits, x_0)

Source from the content-addressed store, hash-verified

4
5class SampleClassBase(abc.ABC):
6 def sample(self, logits, x_0):
7 raise NotImplementedError
8
9 def post_process_sample_in_prediction(self, sample, x_0):
10 return sample

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected