Commit 5a3e4c1
make ExecuTorch program always has valid debug handle map and delegate map (#13149)
Summary:
Currently ExecuTorchProgram's debug handle map and delegate map will be empty if we didn't call its _get_emitter_output function directly or indrectly before. This behavior doesn't make sense because:
a. the empty result can not reflect the executorch program's state
b. not in line with ExecuTorchProgramManager behavior
c. other attributes, like self.buffer and self.program, do not have such behavir and can always return valid result.
This PR makes them always has valid value..
Reviewed By: JacobSzwejbka
Differential Revision: D797060581 parent 134becb commit 5a3e4c1
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
616 | | - | |
| 616 | + | |
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
| 624 | + | |
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
| |||
0 commit comments