Fix discussions from fault tolerance mechanism MR
Context
Fix (parts of) discussions from #276.
- change
int
type forstd::uint8_t
andstd::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 fromstd::size_t
tostd::uint8_t
since supported types are not longer than 256 bits - change
getWeightsFaultsLocations
anddistributeFaults
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