keep original data_deps while resolving graph
Target Issue #148
Summary
One of the future works on astrasim about memory requires getting the original data dependency from the workload. However, in the current implementation of ETFeeder the original data_deps will be mutated for recording dependency resolving. Here we introduce a duplication of data_deps called unresolved_data_deps which is specifically used for dependency resolving. This way we can keep original data_deps during resolving for purples of memory analysis.
Test Plan
Test it with AstraSIM run/example
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅
Hi @changhai0109, Thank you for resolving my questions!
May I request, you to ensure that the code passes all checks (File formatting, tests, etc.)?