Skip to content
Snippets Groups Projects
  1. Aug 07, 2024
  2. 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
  3. Jun 19, 2024
  4. Jun 13, 2024
  5. Jun 07, 2024
  6. Apr 24, 2024
  7. Apr 22, 2024
  8. Apr 09, 2024
  9. Mar 22, 2024
  10. Mar 21, 2024
  11. 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
  12. 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
  13. 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
  14. Feb 16, 2024
  15. Feb 12, 2024
  16. Jan 29, 2024
  17. Jan 26, 2024
  18. Jan 15, 2024
  19. Jan 05, 2024
  20. Dec 14, 2023
  21. Dec 10, 2023
  22. Dec 09, 2023
  23. Dec 08, 2023
  24. Dec 07, 2023
  25. Dec 05, 2023
Loading