network(**config)
will unpack the dictionary config
and use the key value pairs in that dictionary as arguments to network
.
For example, these will all make the same call to func
:
def func(foo, bar):
print foo, bar
d = {'foo': 'value1', 'bar': 'value2'}
func(**d)
func(**{'bar': 'value2', 'foo': 'value1'})
func(bar='value2', foo='value1')
func('value1', 'value2')