(x1: float = 256, y1: float = 0.5, x2: float = 4096, y2: float = 1.15)
| 116 | |
| 117 | |
| 118 | def get_lin_function(x1: float = 256, y1: float = 0.5, x2: float = 4096, y2: float = 1.15): |
| 119 | m = (y2 - y1) / (x2 - x1) |
| 120 | b = y1 - m * x1 |
| 121 | return lambda x: m * x + b |
| 122 | |
| 123 | |
| 124 | def get_t_distribution(model_config): |
no outgoing calls
no test coverage detected