cymr.network.Network.copy#

Network.copy(include=None, exclude=None)#

Copy the network to a new network object.

Parameters:
  • include (list of str, optional) – List of fields to include. Default is a standard list of fields.

  • exclude (list of str, optional) – List of fields to exclude. Overrides values for include.

Returns:

net – Network with the same segments, weights, and activations.

Return type:

cymr.Network