MCPcopy Create free account
hub / github.com/RolnickLab/climart / has_hyperparam_values

Function has_hyperparam_values

analysis/wandb_api.py:39–41  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

37
38
39def has_hyperparam_values(**kwargs) -> Callable:
40 return lambda run: all(hasattr(run.config, hyperparam) and value == run.config[hyperparam]
41 for hyperparam, value in kwargs.items())
42
43
44def larger_than(**kwargs) -> Callable:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected