coreai_opt.inspection.BoundaryEdge¶
- class coreai_opt.inspection.BoundaryEdge(op, index)[source]¶
Bases:
objectA single data-flow edge crossing a module boundary.
Each entry in
ModuleInfo.input_opsorModuleInfo.output_opscorresponds to one quantizer configuration point at the boundary.- Parameters:
op (OpInfo)
index (int)
- index¶
For input boundaries: the input slot of
opthat receives external data, matching the index used inmodule_input_spec. For output boundaries: the output slot ofopwhose tensor leaves the module, matching the index used inmodule_output_spec.- Type:
int