Skip to content

[Fix] Producer clone and Tensor copy

Maxence Naud requested to merge fix_207-producer-clone into dev

Context

Closes #207 (closed)

Major modifications

  • Tensor

    • 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 (now you can display a Tensor with fmt)
    • Add move assignment operator
    • Fix 'Tensor::clone()' if original Tensor has no implementation
    • Change Tensor::operator= behaviour to always perform a shallow copy in case of copy constructor/assignment operator calls
  • Pop_Op: fix kernel that should not be inplace

  • Data: add copy/move constructor/assignment operator

Edited by Maxence Naud

Merge request reports

Loading