[Eager] Clear inputs of the original op after EagerRewrite
@penpornk This PR looks good to us. Thanks @Srini511. Good to hear from you @mahmoud-abuzaina ! Thanks! Hi @penpornk, Can you please review this PR ? Thank you! Hi @penpornk, Can you please review this PR ? Thank you! Hi @penpornk, Can you please review this PR ? Thank you! Hi @penpornk, Can you please review this PR ? Thank you! Hi @penpornk, Can you please review this PR ? Thank you! Hi @penpornk, Can you please review this PR ? Thank you! Hi @penpornk, Can you please review this PR ? Thank you!
PR clears the inputs of the original EagerOperation after the op is rewritten by EagerRewrite passes. This ensures that subsequent users of the op see consistent cleared inputs which otherwise would see stale inputs and crash. 