Activations

Module containing helper functions and classes around activations

source

set_seed

 set_seed (seed, deterministic=False)

source

Hook

 Hook (nr, layer, func)

Initialize self. See help(type(self)) for accurate signature.


source

ActivationStatsS

 ActivationStatsS (modules)

Initialize self. See help(type(self)) for accurate signature.


source

init_weights

 init_weights (m)

source

NormalizationS

 NormalizationS (mean, std)

Initialize self. See help(type(self)) for accurate signature.


source

conv_block

 conv_block (in_c, out_c, kernel_size=3, stride=2, act=True, norm=True)

source

cnn_layers

 cnn_layers (act=True)