openfl.native.native

openfl.native.native#

OpenFL Native functions module.

This file defines openfl entrypoints to be used directly through python (not CLI)

Functions

flatten(config[, return_complete])

Flatten nested config.

get_collaborator(plan, name, model, aggregator)

Create the collaborator.

get_plan([fl_plan, indent, sort_keys])

Returns a string representation of the current Plan.

init([workspace_template, log_level, ...])

Initialize the openfl package.

run_experiment(collaborator_dict[, ...])

Core function that executes the FL Plan.

setup_logging([level, log_file])

Initializes logging settings.

setup_plan([log_level])

Dump the plan with all defaults + overrides set.

unflatten(config[, separator])

Unfolds config settings that have separator in their names.

update_plan(override_config[, plan, resolve])

Updates the plan with the provided override and saves it to disk.