MCPcopy Create free account
hub / github.com/ReinFlow/ReinFlow / sample_time

Method sample_time

model/flow/reflow.py:106–138  ·  view source on GitHub ↗

Sample time steps from a specified distribution in [0, 1). Args: batch_size: Number of time samples to generate. time_sample_type: Type of distribution ('uniform', 'logitnormal', 'beta'). **kwargs: Additional parameters for non-uniform distributions.

(self, batch_size: int, time_sample_type: str = 'uniform', **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

generate_targetMethod · 0.95

Calls 1

sampleMethod · 0.45

Tested by

no test coverage detected