lightning/pytorch_lightning/root_module
Sebastian Præsius b31539f62e Guard against AttributeError in dataloaders. (#161)
A solution for https://github.com/williamFalcon/pytorch-lightning/issues/142.
Since hasattr "calls getattr(object, name) and to see whether it raises an AttributeError or not", I replaced it with a single call to getattr.
See also https://stackoverflow.com/questions/24971061/python-hasattr-vs-getattr
2019-08-23 08:21:39 -04:00
..
__init__.py updated test models with lazy decorators 2019-07-25 10:59:10 -04:00
decorators.py Guard against AttributeError in dataloaders. (#161) 2019-08-23 08:21:39 -04:00
grads.py update by flake8 2019-08-06 22:45:46 +02:00
hooks.py Merge pull request #55 from williamFalcon/continue 2019-08-07 09:02:16 -04:00
memory.py fix prints for py3.5 2019-08-06 22:45:46 +02:00
model_saving.py made imports absolute 2019-08-07 10:14:59 -04:00
root_module.py Val idx optional in validation_step (#108) 2019-08-13 11:37:37 -04:00