Mcore_handler.master_broadcasts_to_all

Mcore_handler.master_broadcasts_to_all(var)[source]

Broadcast an array to all instances of the process (share jobs performed by the master only)

Parameters:

var (np.array or dict) – variable to broadcast, from the master only, esle None

Returns:

data – variable broadcasted in all instances

Return type:

np.array or dict