(mu: float, sigma: float, t: torch.Tensor)
| 112 | |
| 113 | |
| 114 | def time_shift(mu: float, sigma: float, t: torch.Tensor): |
| 115 | return math.exp(mu) / (math.exp(mu) + (1 / t - 1) ** sigma) |
| 116 | |
| 117 | |
| 118 | def get_lin_function(x1: float = 256, y1: float = 0.5, x2: float = 4096, y2: float = 1.15): |
no outgoing calls
no test coverage detected