Skip to content
Snippets Groups Projects
  1. Jan 08, 2025
  2. Dec 05, 2024
    • Maxence Naud's avatar
      Upd: Tensor operators and fmt display · 5cc265ab
      Maxence Naud authored and Maxence Naud's avatar Maxence Naud committed
      - add compound assignment operator (+=, -=, *=, /=) with Tensor and arithmetic values
      - add operator(+, -, *, /) with arithmetic values
      - add friend symetric operator (+, -, *) with arithmetic values
      - add fmt parsing function
      5cc265ab
    • Maxence Naud's avatar
      Improve copy/move/clone behaviour consistency · 77d70664
      Maxence Naud authored and Maxence Naud's avatar Maxence Naud committed
      - Add move assignment operator
      - Fix 'Tensor::clone()' if original Tensor has no implementation
      - Change behaviour to always perform a shallow copy in case of copy constructor/assignment operator calls
      77d70664
  3. Nov 26, 2024
  4. Nov 21, 2024
  5. Oct 19, 2024
  6. Sep 02, 2024
  7. Aug 29, 2024
  8. Aug 07, 2024
  9. 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
  10. Jun 19, 2024
  11. Jun 13, 2024
  12. Jun 07, 2024
  13. Apr 24, 2024
  14. Apr 22, 2024
  15. Apr 09, 2024
  16. Mar 22, 2024
  17. Mar 21, 2024
  18. 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
  19. 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
  20. 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
  21. Feb 16, 2024
  22. Feb 12, 2024
  23. Jan 29, 2024
  24. Jan 26, 2024
  25. Jan 15, 2024
  26. Jan 05, 2024
Loading