libreasr.lib.utils¶
Useful little functions
Functions
Check if tensor t is numerically correct. |
|
print the mean and std of all activations while data is flowing through your model Warning: this removes all hooks from your model! |
|
Get the number of parameters for a PyTorch nn.Module m |
|
Do nothing |
|
q and a about your model. |
|
this can’t handle generators :( |
|
Classes