Skip to content
Snippets Groups Projects
  1. Nov 21, 2024
  2. Oct 19, 2024
  3. Sep 02, 2024
  4. Aug 29, 2024
  5. Aug 07, 2024
  6. Jul 09, 2024
    • Christophe Guillon's avatar
      [Tensor] Disambiguate undefined Tensor dimensions from Scalar Tensor · cb0748a7
      Christophe Guillon authored and Maxence Naud's avatar Maxence Naud committed
      Define a Tensor with undefined dims by explicitly setting mSize to 0.
      Provide undefined() method which must be used instead of empty()
      to test whether a Tensor as associated dimensions and can be used
      for forwarding dimensions downward.
      This disambiguates from defined scalar Tensor which actually have
      empty dimensions, but size of 1.
      Note that as soon as a Tensor with undefined dimensions is resized,
      it's dimensions are permanently defined (though may still change).
      
      This change solves issues in operators forwardDims() when
      input values are scalar, i.e. !undefined() and empty().
      cb0748a7
  7. Jun 19, 2024
  8. Jun 13, 2024
  9. Jun 07, 2024
  10. Apr 24, 2024
  11. Apr 22, 2024
  12. Apr 09, 2024
  13. Mar 22, 2024
  14. Mar 21, 2024
  15. Feb 29, 2024
    • Maxence Naud's avatar
      Update Tensor.hpp and Tensor.cpp · d4ca927d
      Maxence Naud authored
      - [#include] Remove duplicated includes, add includes
      - [attributes] add default values for mDataType, mImpl and mGrad
      - [constructors] Order constructors, change array copy assignment to remove code duplication
      - calling grad() does not instanciate the gradient anymore, a dedicated function should do it
      - move getAvailableBackends() and operator=(const Tensor&) to cpp file
      - Tensor::resize() now handles scalar Tensors
      d4ca927d
  16. Feb 27, 2024
    • Maxence Naud's avatar
      [WIP][NF] Start Tensor changes · 3cd6469a
      Maxence Naud authored
      - [Add] ``zeros()`` member function to set implpementation elements to 0
      - [unit_tests][NF] Add many more cases in Test_TensorImpl.cpp
      - [include] update includes in Tensor.hpp
      3cd6469a
  17. Feb 19, 2024
    • Maxence Naud's avatar
      [WIP][NF] Start Tensor changes · a039090b
      Maxence Naud authored
      - [Add] ``zeros()`` member function to set implpementation elements to 0
      - [unit_tests][NF] Add many more cases in Test_TensorImpl.cpp
      - [include] update includes in Tensor.hpp
      a039090b
  18. Feb 16, 2024
  19. Feb 12, 2024
  20. Jan 29, 2024
  21. Jan 26, 2024
  22. Jan 15, 2024
  23. Jan 05, 2024
  24. Dec 14, 2023
  25. Dec 10, 2023
  26. Dec 09, 2023
  27. Dec 08, 2023
  28. Dec 07, 2023
  29. Dec 05, 2023
Loading