5.1.1.6.1.4. FedEval.role.logger

5.1.1.6.1.4.1. Module Contents

5.1.1.6.1.4.1.1. Classes

HyperLogger

class FedEval.role.logger.HyperLogger(name: str, log_dir_name: str)
property name: str
property dir_path: str
property server_side_best_model_weight_file_path: str
property log_dir_path
_LOG_LEVEL_EVAL_PATTERN = 'logging.{}'
get() logging.Logger
snapshot_config_into_files() None
snapshot_results_into_file(results: Mapping[str, Any]) None
snapshot_model_weights_into_file(weights, round_num: int, host_params_type: str) None
clear_snapshot(round_num: int, client_id_list: list = None, latest_k: int = 1)
is_snapshot_exist(round_num: int, host_params_type: str, client_id_list: list = ())
snap_server_side_best_model_weights_into_file(weights) None
model_weight_file_path(round_num: int, client_id=None) str