tf_1.8_xla_doc
|
#include <hlo_dce.h>
Inherits HloPassInterface.
Public Member Functions | |
StatusOr< bool > | Run (HloModule *module) override |
Entry of xla::HloDCE pass. More... | |
HLO pass which removes dead instructions from each computation in the module and removes dead computations from the module.
An instruction is dead if it is not reachable from the root. A computation is dead if it is not the entry computation of the module and it is not reachable from the entry computation.
This pass does not remove dead parameter instructions, as parameter instructions cannot be deleted.
|
override |
Entry of xla::HloDCE
pass.
For sequence of computation in hlo module in post order