transform module

Full Documentation for hippynn.layers.transform module. Click here for a summary page.

Layers that wrap other layers.

class ResNetWrapper(base_layer, nf_in, nf_middle, nf_out, activation=<built-in function softplus>)[source]

Bases: Module

Resnet Wrapper Class

forward(*input)[source]
Parameters:

input – list of inputs for the layer; the first one is taken to be the features which will be computed as a residual

Returns:

Pytorch module output

regularization_params()[source]