- 04 10月, 2018 1 次提交
-
-
由 Francois Chollet 提交于
-
- 29 9月, 2018 1 次提交
-
-
由 Francois Chollet 提交于
-
- 29 7月, 2018 1 次提交
-
-
由 Francois Chollet 提交于
-
- 28 7月, 2018 1 次提交
-
-
由 Francois Chollet 提交于
-
- 06 6月, 2018 1 次提交
-
-
由 Francois Chollet 提交于
-
- 24 4月, 2018 1 次提交
-
-
由 Francois Chollet 提交于
-
- 07 3月, 2018 1 次提交
-
-
由 Francois Chollet 提交于
-
- 14 2月, 2018 1 次提交
-
-
由 Francois Chollet 提交于
-
- 16 1月, 2018 1 次提交
-
-
由 Francois Chollet 提交于
-
- 02 12月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 15 11月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 14 11月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 02 11月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 26 8月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 22 8月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 08 7月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 22 6月, 2017 1 次提交
-
-
由 Chris 提交于
* Utility function to check if a callable has a given keyword argument * Added unit tests for the has_arg function * Replace uses of getargspec with the new has_arg function Not changing keras.backend, because that gives ImportErrors due to a circular import (conv_utils uses the backend, and is imported before generic_utils in utils/__init__.py) Not changing keras.utils.test_utils, because that change exposes (what looks to me like) a latent bug * Replace incorrect use of getargspec in test_utils.py The previous code would always fail to detect the 'weights' argument. Simply replacing getargspec would cause the tests for some of the legacy layers to fail because the passed 'weights' argument is bad. Instead, I have added a check for whether the passed `weights` array is empty, this avoids tripping the bug. * Replacing getargspec with has_arg in the backend modules This requires reordering imports to avoid errors caused by conv_utils trying to import the backend, the backend wanting to import generic_utils, and utils/__init__.py listing conv_utils before generic_utils. * Removed getargspec from legacy wrapping function Instead save the wrapped function in an attribute and call getargspec on this attribute during documentation generation.
-
- 17 6月, 2017 2 次提交
-
-
由 François Chollet 提交于
This reverts commit ced84c4b.
-
由 Chris 提交于
* Utility function to check if a callable has a given keyword argument * Replace uses of getargspec with the new has_arg function Not changing keras.backend, because that gives ImportErrors due to a circular import (conv_utils uses the backend, and is imported before generic_utils in utils/__init__.py) Not changing keras.utils.test_utils, because that change exposes (what looks to me like) a latent bug * Added unit tests for the has_arg function * Replace incorrect use of getargspec in test_utils.py The previous code would always fail to detect the 'weights' argument. Simply replacing getargspec would cause the tests for some of the legacy layers to fail because the passed 'weights' argument is bad. Instead, I have added a check for whether the passed `weights` array is empty, this avoids tripping the bug. * Replacing getargspec with has_arg in the backend modules This requires reordering imports to avoid errors caused by conv_utils trying to import the backend, the backend wanting to import generic_utils, and utils/__init__.py listing conv_utils before generic_utils.
-
- 13 6月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 30 4月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 20 4月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 10 4月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 21 3月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 17 3月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 06 3月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 11 2月, 2017 2 次提交
-
-
由 Francois Chollet 提交于
-
由 Francois Chollet 提交于
-
- 10 2月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 20 1月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 19 1月, 2017 1 次提交
-
-
由 Francois Chollet 提交于
-
- 20 12月, 2016 1 次提交
-
-
由 Francois Chollet 提交于
-
- 26 11月, 2016 1 次提交
-
-
由 Francois Chollet 提交于
-
- 01 11月, 2016 1 次提交
-
-
由 Francois Chollet 提交于
-
- 20 9月, 2016 1 次提交
-
-
由 Francois Chollet 提交于
-
- 28 8月, 2016 1 次提交
-
-
由 Francois Chollet 提交于
-
- 09 8月, 2016 1 次提交
-
-
由 Francois Chollet 提交于
-
- 17 7月, 2016 1 次提交
-
-
由 Francois Chollet 提交于
-
- 28 6月, 2016 1 次提交
-
-
由 Francois Chollet 提交于
-
- 07 6月, 2016 1 次提交
-
-
由 Francois Chollet 提交于
-