fedn.utils package
The utils package is responsible for providing utility functions for the FEDn framework. Such as logging, checksums and other model helper functions to aggregate models. THe helper functions is there to support aggregating various models from different ML frameworks, such as Tensorflow, PyTorch and Keras.
Subpackages
Submodules
fedn.utils.checksum module
fedn.utils.dispatcher module
fedn.utils.helpers module
- fedn.utils.helpers.get_helper(helper_module_name)[source]
Return an instance of the helper class.
- Parameters:
helper_module_name (str) – The name of the helper plugin module.
- Returns:
A helper instance.
- Return type:
class: fedn.utils.helpers.HelperBase