1. 05 Aug, 2021 6 commits
  2. 04 Aug, 2021 1 commit
  3. 30 Jul, 2021 1 commit
  4. 27 Jul, 2021 1 commit
  5. 22 Jul, 2021 1 commit
  6. 16 Jul, 2021 1 commit
  7. 30 Jun, 2021 1 commit
  8. 12 May, 2021 2 commits
  9. 11 May, 2021 2 commits
  10. 10 May, 2021 1 commit
  11. 01 May, 2021 4 commits
  12. 28 Apr, 2021 1 commit
    • Davis King's avatar
      Cleanup gcc version checking code a little. · ded68b9a
      Davis King authored
      Also fix this error from cmake 3.5.1:
      
      ```
      CMake Error at CMakeLists.txt:62 (if):
        if given arguments:
      
          "CMAKE_COMPILER_IS_GNUCXX" "AND" "CMAKE_CXX_COMPILER_VERSION" "VERSION_LESS_EQUAL" "4.8.5"
      
        Unknown arguments specified
      ```
      ded68b9a
  13. 27 Apr, 2021 1 commit
  14. 24 Apr, 2021 2 commits
  15. 22 Apr, 2021 1 commit
    • pfeatherstone's avatar
      [TYPE_SAFE_UNION] use std::aligned_union instead of stack_based_memory_block (#2349) · d6d1a9e8
      pfeatherstone authored
      
      
      * [TYPE_SAFE_UNION] use std::aligned_union instead of stack_based_memory_block. std::aligned_union was specifically designed to do this kind of stuff and we are better off trusting the standard library deciding what the correct storage type should be and what the appropriate alignment should be
      
      * [TYPE_SAFE_UNION] as per Davis' suggestion, std::aligned_union can take Len parameter 0. Also, the content's of validate_type() has been bugging me for ages, so i created is_any which is based on std::is_same. I've also replaced is_same_type with std::is_same
      Co-authored-by: default avatarPeter Featherstone <peter@grampus-server.com>
      d6d1a9e8
  16. 14 Apr, 2021 3 commits
  17. 13 Apr, 2021 1 commit
  18. 12 Apr, 2021 1 commit
    • Adrià Arrufat's avatar
      Add Clipped ReLU and ELU activations (#2285) · 1b7c7a64
      Adrià Arrufat authored
      
      
      * wip: add apis for clipped_relu and elu, and layer implementation for clipped_relu
      
      * add tensor_tools documentation
      
      * add cpu implementations for new activations
      
      * add elu layer
      
      * use upperbound and lowerbound for clipped_relu
      
      * fix clipped_relu gradient due to wrong variable naming
      
      * fix elu_gradient due to wrong variable naming
      
      * fix elu_gradient documentation
      
      * add documentation
      
      * WIP: add test_layer cases for clipped_relu and elu
      
      For some reason that I can't see, ELU is failing...
      
      * add clipped_relu and elu tests... cuda elu layer still does not work
      
      * fix spacing
      
      * add custom cuda implementation for elu_gradient (this one works)
      
      * Revert "add custom cuda implementation for elu_gradient (this one works)"
      
      This reverts commit 446dd803964cc6ecca598ddf6688e5d89ca0b112.
      
      * Revert "Revert "add custom cuda implementation for elu_gradient (this one works)""
      
      This reverts commit 0b615f50081d0d90e71d502b6767fcb6ba62f28a.
      
      * add comment about custom elu gradient implementation
      
      * add gradient tests, restore cudnn elu gradient
      
      * re add custom elu gradient implementation
      
      * update docs
      
      * use own cuda implementation for clipped_relu and elu
      Co-authored-by: default avatarDavis E. King <davis@dlib.net>
      1b7c7a64
  19. 04 Apr, 2021 2 commits
    • Adrià Arrufat's avatar
      Fix input/output mappings with repeat layers (#2337) · 0ffe9c4c
      Adrià Arrufat authored
      * Fix input/output mappings with repeat layers
      
      * add test for input/output tensor mappers
      
      * fix output to input order
      0ffe9c4c
    • Adrià Arrufat's avatar
      Add letterbox image (#2335) · a4713b59
      Adrià Arrufat authored
      * Add letterbox image
      
      * use && instead of and
      
      * make function adhere to the generic image interface
      
      * avoid extra copy
      
      * add some overloads and a simple test
      
      * add documentation
      
      * use zero_border_pixels and remove superfluous temporary image
      
      * allow different input and out images and update docs
      
      * remove empty line
      
      * be more explicit about output image size
      a4713b59
  20. 28 Mar, 2021 3 commits
  21. 22 Mar, 2021 1 commit
  22. 08 Mar, 2021 1 commit
    • Adrià Arrufat's avatar
      Add softmax function for matrix type (#2320) · 092fa303
      Adrià Arrufat authored
      * Add softmax function for matrix type
      
      * make softmax inherit from basic_op_m
      
      * fix comment
      
      * add test for matrix softmax
      
      * remove include
      
      * take inspiration from op_normalize
      
      * use multiplication instead of division
      
      * fix typo in documentation
      092fa303
  23. 20 Feb, 2021 1 commit
  24. 17 Feb, 2021 1 commit