Cambricon / mlu-ops

Efficient operation implementation based on the Cambricon Machine Learning Unit (MLU) .
MIT License
103 stars 102 forks source link

[Fix](mlu-ops): roi-type kernel get theroy ops #994

Closed chqy99 closed 6 months ago

chqy99 commented 6 months ago

Thanks for your contribution and we appreciate it a lot. :rocket::rocket:

1. Motivation

需要获取理论计算量来评估ROI类算子性能,而部分roi类算子理论计算量受真值影响,以前并没有实现

2. Modification

实现受真值影响的算子理论计算量计算,复用了cpuCompute逻辑,但不做核心计算,只统计theory_ops

3. Test Report