MCPcopy Create free account
hub / github.com/XL2248/MSCTD / SamplerState

Class SamplerState

src_code/thumt1_code/thumt/utils/sampling.py:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15
16class SamplerState(namedtuple("SamplerState",
17 ("inputs", "state", "scores", "flags"))):
18 pass
19
20
21def _get_inference_fn(model_fns, features):

Callers 2

_sampling_stepFunction · 0.70
random_sampleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected