nn-Meter
nn-Meter copied to clipboard
Why removed nodes are not removed from inbound
If not they are not removed, https://github.com/microsoft/nn-Meter/blob/759854e2b67dc56396c5140af548fe62a4746d7b/nn_meter/kernel_detector/utils/fusion_aware_graph.py#L21 can access non-existing node from graph.
I made the following change in my own fork. https://github.com/YuqiData-UW/nn-Meter/commit/167edcd2c593d369762309d4f1b15632391bf635#diff-dd5660ddb30cf4ee6c6bc08175136958f8683dab0f9466a2aa744ce05558ac46R74