nnmt.utils.get_optional_network_params

nnmt.utils.get_optional_network_params(network, func)[source]

Extracts dict with optional args for func from network.network_params.

Returns empty dict if any of the optional params is not found.