nn-Meter icon indicating copy to clipboard operation
nn-Meter copied to clipboard

Why removed nodes are not removed from inbound

Open YuqiData-UW opened this issue 2 years ago • 0 comments

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

YuqiData-UW avatar Feb 05 '23 04:02 YuqiData-UW