So, back to decorating the classes and not the objects so that torch.save() does...
-rw-r--r-- 720 README.md
-rw-r--r-- 3293 profiler.lua
-rwxr-xr-x 2783 test-profiler.lua