openfl.native.native.flatten

Contents

openfl.native.native.flatten#

openfl.native.native.flatten(config, return_complete=False)[source]#

Flatten nested config.

Parameters:
  • config (dict) – The configuration dictionary to flatten.

  • return_complete (bool, optional) – Whether to return the complete flattened config. Defaults to False.

Returns:

The flattened configuration dictionary.

Return type:

flattened_config (dict)