children

UNet.children() Iterator[Module]

Return an iterator over immediate children modules.

Yields:

Module – a child module