cellflow.data.TrainSampler.sample¶ TrainSampler.sample(rng)[source]¶ Sample a batch of data. Parameters: seed (int, optional) – Random seed Return type: dict[str, Any] Returns: : Dictionary with source and target data