federated/utils/compression_utils.py
def encoded_broadcast_process(
    tff_model_fn: tff.learning.Model,
) -> tff.templates.MeasuredProcess:
    """Function for creating a MeasuredProcess used in federated learning. Uses `build_encoded_broadcast_fn` defined above. Returns MeasuredProcess

    Args:
        tff_model_fn (tff.learning.Model): Federated learning model.

    Returns:
        tff.templates.MeasuredProcess: MesuredProcess object.
    """
    return tff.learning.framework.build_encoded_broadcast_process_from_model(
        tff_model_fn, build_encoded_broadcast_fn
    )
Function for creating a MeasuredProcess used in federated learning. Uses `build_encoded_broadcast_fn` defined above. Returns MeasuredProcess

    Args:
        tff_model_fn (tff.learning.Model): Federated learning model.

    Returns:
        tff.templates.MeasuredProcess: MesuredProcess object.
    
Function for creating a MeasuredProcess used in federated learning. Uses `build_encoded_broadcast_fn` defined above.
Function for creating a MeasuredProcess used in federated learning . Uses ` build_encoded_broadcast_fn ` defined above .
def encoded_broadcast_process(
    tff_model_fn: tff.learning.Model,
) -> tff.templates.MeasuredProcess:
    return tff.learning.framework.build_encoded_broadcast_process_from_model(
        tff_model_fn, build_encoded_broadcast_fn
    )
def encoded_broadcast_process ( tff_model_fn : tff . learning . Model , ) -> tff . templates . MeasuredProcess : return tff . learning . framework . build_encoded_broadcast_process_from_model ( tff_model_fn , build_encoded_broadcast_fn )
Function for creating a MeasuredProcess used in federated learning.
Function for creating a MeasuredProcess used in federated learning .
"""Function for creating a MeasuredProcess used in federated learning. Uses `build_encoded_broadcast_fn` defined above. Returns MeasuredProcess

    Args:
        tff_model_fn (tff.learning.Model): Federated learning model.

    Returns:
        tff.templates.MeasuredProcess: MesuredProcess object.
    """
None
tff.templates.MeasuredProcess
tff_model_fn
tff.learning.Model
Federated learning model.
Federated learning model .