Hi All,
I know there is a function (get_total_mac_number), but my model is in IRModule type.
This function (get_total_mac_number) accepts input as Relay Expr. So how can I get the number of macs in IRModule? Or how can I convert IRModule back to Relay Expr so that I can use get_total_mac_number function?
If you want to make sure the calculation covers the whole IRModule, you can just run this pass to each function in the module.
The warning you got indicates that this pass only cares those ops when calculating the MACs. This is because only those ops have MAC computation. In case you find any uncover op that includes MAC, you are welcome to file a PR to improve the get_total_mac_number.