(mu: float, sigma: float, t: torch.Tensor)
| 25 | |
| 26 | |
| 27 | def time_shift(mu: float, sigma: float, t: torch.Tensor): |
| 28 | return math.exp(mu) / (math.exp(mu) + (1 / t - 1) ** sigma) |
| 29 | |
| 30 | |
| 31 | def get_lin_function(x1: float = 256, y1: float = 0.5, x2: float = 4096, y2: float = 1.15): |