Skip to content

UPD: remove 'iostream' and include only what is used

Maxence Naud requested to merge upd_use-right-includes into dev

Context

The goal of this MR is three fold:

Changes

  • CMakeLists.txt get latest fmt version if not found on system and change lib propagation rule to PUBLIC
  • unit_tests/CMakeLists.txt add info if Catch2 found on system for core unit-tests
  • pybind_Tensor.cpp add backend() binding
  • ReduceMean.hpp add missing default values in constructor
  • replace stream usage with fmt everywhere and include only what is used
  • add backend-agnostic backward() implementation to Reshape operator

Change in tests_aidge_core binary size

As a result of this MR changes, the aidge_core test binary went from 5'899'032 bytes to 5'902'368, so a slight increase but it was no the binary targeted by these changes.

Edited by Maxence Naud

Merge request reports

Loading