towhee.hparam.hyperparameterΒΆ

Functions

all_params

Get all tracked hyperparameters.

auto_param

Convert keyword arguments into hyperparameters

dynamic_dispatch

Wraps function with a class to allow __getitem__ and __getattr__ on a function.

reads

Get hyperparameter read operations.

safe_numeric

set_auto_param_callback

report hyperparameter value to a tracker, for example, mlflow.tracking

writes

Get hyperparameter write operations.

Classes

DynamicDispatch

Dynamic call dispatch

HyperParameter

HyperParameter is an extended dict with features for better parameter management.

param_scope

thread-safe scoped hyperparameter