ott.core.icnn.ICNN.clone#

ICNN.clone(*, parent=None, **updates)#

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

Parameters
  • parent (Union[Scope, Module, None]) – The parent of the clone. The clone will have no parent if no explicit parent is specified.

  • **updates – Attribute updates.

Return type

Module

Returns

A clone of the this Module with the updated attributes and parent.