libreasr.lib.utils.hook_debug

libreasr.lib.utils.hook_debug(m, db)[source]

print the mean and std of all activations while data is flowing through your model Warning: this removes all hooks from your model!