Skip to content

Replace Name Maps with Node-Pointers Unordered Maps

Benjamin Halimi requested to merge ptr_maps into dev

Description

Current PTQ calibration steps make use of maps for storing the scaling factors, and the key or those maps are the node names.

As a consequence, the input nodes must be properly named before we pass the network to the PTQ.

We propose to replace those maps of names by unordered maps of node shared-pointers.

Merge request reports

Loading