pyepo.func.utils¶
Utility function
Attributes¶
Classes¶
creates a generator of samples for the Sum-of-Gamma distribution |
Module Contents¶
- pyepo.func.utils.logger¶
- class pyepo.func.utils.sumGammaDistribution(kappa: float, n_iterations: int = 10, seed: int = 135)¶
creates a generator of samples for the Sum-of-Gamma distribution
- κ¶
- n_iterations = 10¶
- seed = 135¶
- rnd¶
- sample(size: int | tuple[int, Ellipsis], *, device: torch.device | str | None = None, dtype: torch.dtype = torch.float32) numpy.ndarray | torch.Tensor¶