from_dict

classmethod Network.from_dict(d)[source]

Create a network from a dictionary.

The dictionary has to be in a form returned by the as_dict method.