inferno
inferno copied to clipboard
make GarbageCollection a default
we should make the behavior off the GarbageCollection
callback default and make this callback obsolete.
We should proidve an API like the following and have reasonable defaults:
trainer.garbage_collect(collect_every=(1, 'iteration'))
Power users can disable gc via
trainer.garbage_collect(collect_every='never')