VeriSilicon / TIM-VX

VeriSilicon Tensor Interface Module
Other
216 stars 85 forks source link

Fixed layout infer bug when some op is not in op_vector_ #676

Closed chenfeiyue-cfy closed 5 months ago

chenfeiyue-cfy commented 5 months ago

Backgroud: instance_norm models run crash after latest lay out code refine

Reason: The refactored code treats the ops that not in the initial op vector as out of bounds access

Solution: Refactored normalize_fusion code to ensure no op is deleted wrongly in opvector

Type: Bug Fix Issue: 37449