1. 29 7月, 2018 2 次提交
  2. 28 7月, 2018 1 次提交
  3. 26 7月, 2018 1 次提交
    • G
      Refactoring: Simplified some code by using the `to_list` function. (#10678) · dd07a4c4
      Gabriel de Marmiesse 提交于
      ### Summary
      We have the method `to_list` in keras. Let's use it to make the codebase simpler!
      ### Related Issues
      
      ### PR Overview
      
      - [ ] This PR requires new unit tests [y/n] (make sure tests are included)
      - [ ] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
      - [x] This PR is backwards compatible [y/n]
      - [ ] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)
      dd07a4c4
  4. 24 7月, 2018 5 次提交
  5. 23 7月, 2018 1 次提交
    • M
      Fix signature of functions and methods in generated docs (#10743) · aab55e64
      Masoud Kazemi 提交于
      ### Summary
      This PR resolves two issues:
      1) The `get_function_signature` in `autogen.py` duplicates module name for non-method functions. For example, it returns `keras.preprocessing.sequence.keras.preprocessing.sequence.pad_sequences` instead of `keras.preprocessing.sequence.pad_sequences`.
      
      2) Method functions and non-method functions should be distinguished from each other. Since, the module name of non-method functions should be included in the signature in the docs (like `keras.preprocessing.sequence.pad_sequences(...)`) whereas for the methods of classes it should not be included (like `compile(...)` for `Sequential` class). Therefore, a new `'methods'` key is introduced to make this distinction.
      
      Note that I temporary resolved the first issue by a merged PR (#10664); however that PR did not address the underlying problem.
      
      ### Related Issues
      #10658 
      #10662 
      ### PR Overview
      
      - [n] This PR requires new unit tests [y/n] (make sure tests are included)
      - [n] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
      - [y] This PR is backwards compatible [y/n]
      - [n] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)
      aab55e64
  6. 21 7月, 2018 1 次提交
  7. 20 7月, 2018 1 次提交
  8. 19 7月, 2018 5 次提交
  9. 18 7月, 2018 1 次提交
    • G
      Removed the exceptions concerning files which were already complient with the... · 583f92a6
      Gabriel de Marmiesse 提交于
      Removed the exceptions concerning files which were already complient with the 85 chars rule. (#10714)
      
      ### Summary
      
      ### Related Issues
      
      ### PR Overview
      
      - [ ] This PR requires new unit tests [y/n] (make sure tests are included)
      - [ ] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
      - [x] This PR is backwards compatible [y/n]
      - [ ] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)
      583f92a6
  10. 17 7月, 2018 4 次提交
  11. 16 7月, 2018 1 次提交
    • G
      The argument bias_initializer was not used in _SeparableConv. (#10687) · f40f71be
      Gabriel de Marmiesse 提交于
      ### Summary
      
      I think it was meant to be passed it to the `__init__` of the parent class.
      
      ### Related Issues
      
      ### PR Overview
      
      - [ ] This PR requires new unit tests [y/n] (make sure tests are included)
      - [ ] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
      - [ ] This PR is backwards compatible [y/n]
      - [x] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)
      f40f71be
  12. 15 7月, 2018 1 次提交
  13. 13 7月, 2018 1 次提交
    • M
      Fix redundant functions' module names in auto-gen docs (#10664) · 8fe86302
      Masoud Kazemi 提交于
      ### Summary
      This PR fixes the redundant function module names in auto-gen docs. Currently, the module name of functions (those which are not methods of a class) is repeated two times in documentation. [For example](https://keras.io/preprocessing/sequence/#pad_sequences):
      > `keras.preprocessing.sequence.keras.preprocessing.sequence.pad_sequences`
      
      which should be: `keras.preprocessing.sequence.pad_sequences`.
      Further, this PR also removes from the docs the (wrong) module name of methods of classes like `ImageDataGenerator`. For example, [this is for `apply_transform`](https://keras.io/preprocessing/image/#apply_transform):
      
      > `keras.preprocessing.image.apply_transform` 
      
      which should simply be `apply_transform`, first because it is the method of a class (i.e. `ImageDataGenerator`) and second because the referenced module name is wrong (and this [has caused confusion](https://stackoverflow.com/q/51311062/2099607)).
      
      All of this were caused by the fact that `clean_module_name()` was not called on the `function.__module__` in `render_function` (therefore this mostly affects the docs for `keras.preprocessing` and `keras.applications`). Plus, the way `autogen.py` works, the module name is repeated two times in the signature, but for the non-method functions it should be removed only once (that's why I have added a condition).
      
      ### Related Issues
      #10658 
      #10662 
      
      ### PR Overview
      
      - [n] This PR requires new unit tests [y/n] (make sure tests are included)
      - [n] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
      - [y] This PR is backwards compatible [y/n]
      - [n] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)
      8fe86302
  14. 12 7月, 2018 3 次提交
  15. 11 7月, 2018 1 次提交
    • F
      Remove duplicate normalize_data_format (#10645) · b3cb261b
      fuzzythecat 提交于
      ### Summary
      `normalize_data_format` was being called twice in `_Pooling2D`
      
      ### Related Issues
      
      ### PR Overview
      
      - [n] This PR requires new unit tests [y/n] (make sure tests are included)
      - [n] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
      - [y] This PR is backwards compatible [y/n]
      - [n] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)
      b3cb261b
  16. 10 7月, 2018 1 次提交
    • M
      Add missing examples to examples/README.md (#10637) · e2531cb8
      Masoud Kazemi 提交于
      ### Summary
      This PR adds the missing examples to the list of examples in _examples/README.md_.
      
      ### PR Overview
      
      - [n] This PR requires new unit tests [y/n] (make sure tests are included)
      - [n] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
      - [y] This PR is backwards compatible [y/n]
      - [n] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)
      e2531cb8
  17. 09 7月, 2018 1 次提交
  18. 07 7月, 2018 3 次提交
  19. 06 7月, 2018 2 次提交
  20. 05 7月, 2018 1 次提交
  21. 04 7月, 2018 1 次提交
  22. 02 7月, 2018 2 次提交