b31539f62e
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 |
||
---|---|---|
.. | ||
callbacks | ||
models | ||
pt_overrides | ||
root_module | ||
testing | ||
utilities | ||
__init__.py |