p2pfl.learning.frameworks.simulation.utils moduleΒΆ Utility functions for the simulation. p2pfl.learning.frameworks.simulation.utils.check_client_resources(client_resources)[source]ΒΆ Check if client_resources are valid and return them. Return type: Dict[str, Union[int, float]] p2pfl.learning.frameworks.simulation.utils.pool_size_from_resources(client_resources)[source]ΒΆ Calculate number of Actors that fit in the cluster. For this we consider the resources available on each node and those required per client. Return type: int