Skip to content

Fix discussions from fault tolerance mechanism MR

Jerome Hue requested to merge jeromeh/aidge_core:follow-up-fault into dev

Context

Fix (parts of) discussions from #276.

  • change int type for std::uint8_t and std::size_t
  • reduce assertion overhead
  • fix insertion of fault generation node in graph that forgot the old child node input id
  • fix #285 (closed), every size of data is now handled
  • change getDataTypeBitWidth return type from std::size_t to std::uint8_t since supported types are not longer than 256 bits
  • change getWeightsFaultsLocations and distributeFaults names and variables to be more general-purpose and add documentation
  • upd: FixedNBitFlip attribute names, type and documentation to improve clarity
  • change FaultLocations type to fit graph connection definition that should be added later to Aidge
  • upd: ensure findProducerParamEdges returns connections with Producers
  • rm: commented code and unused function declaration
Edited by Maxence Naud

Merge request reports

Loading