models.modules.Dense

Contents

models.modules.Dense#

class Dense(iterable=(), /)[source]#

Bases: list

Class inherited from list type without changes

Needed to mark the network in the configuration as densely connected.

Example#
Dense(
    [
        [*conv(out_channels, kernel)],
        [Conv(out_channels, 1)],
    ]
)

Methods