pyiqa.archs

Submodules

Package Contents

pyiqa.archs.build_network(opt)[source]

Build a network based on the provided options.

Parameters:

opt (dict) – Dictionary containing network options. Must include the ‘type’ key.

Returns:

The constructed network.

Return type:

nn.Module

Example

>>> net = build_network(opt)
>>> print(net)