ott.neural.networks.icnn.ICNN.copy

Contents

ott.neural.networks.icnn.ICNN.copy#

ICNN.copy(*, parent=<flax.linen.module._Sentinel object>, name=None, **updates)#

Creates a copy of this Module, with optionally updated arguments.

Parameters:
  • parent (Union[Scope, Module, _Sentinel, None]) – The parent of the copy. By default the current module is taken as parent if not explicitly specified.

  • name (Optional[str]) – A new name for the copied Module, by default a new automatic name will be given.

  • **updates – Attribute updates.

  • self (TypeVar(M, bound= Module))

Return type:

TypeVar(M, bound= Module)

Returns:

A copy of the this Module with the updated name, parent, and attributes.