(seed: int, gh: int, gw: int)
| 281 | |
| 282 | |
| 283 | def _rand_grid(seed: int, gh: int, gw: int) -> np.ndarray: |
| 284 | return np.random.default_rng(seed).random((gh, gw), dtype=np.float32) |
| 285 | |
| 286 | |
| 287 | def value_noise_2d(shape: tuple[int, int], seed: int, scale: int) -> np.ndarray: |
no outgoing calls
no test coverage detected