nnmt.utils.get_required_results

nnmt.utils.get_required_results(network, keys, results_keys)[source]

Extracts dict with results from network.results.

Parameters:
networkNetwork object or child class instance.

The network whose dicts are used for storing the results.

keyslist

The keys used in the returned dictionary.

results_keyslist

The corresponding keys used in network.results.

Returns:
dict

The dictionary with the requested results using the given keys.