aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/hlo_constant_folding.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_constant_folding.h')
-rw-r--r--tensorflow/compiler/xla/service/hlo_constant_folding.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_constant_folding.h b/tensorflow/compiler/xla/service/hlo_constant_folding.h
index 514bb8164c..f45eccf825 100644
--- a/tensorflow/compiler/xla/service/hlo_constant_folding.h
+++ b/tensorflow/compiler/xla/service/hlo_constant_folding.h
@@ -25,12 +25,10 @@ namespace xla {
// computation on constants.
class HloConstantFolding : public HloPassInterface {
public:
- explicit HloConstantFolding() {}
- ~HloConstantFolding() override {}
tensorflow::StringPiece name() const override { return "constant_folding"; }
- // Run ConstantFolding on the given module. Returns whether the module was
- // changed (common subexpressions were found and eliminated).
+ // Run constant folding operations on the given module. Returns whether the
+ // module was changed (constant expressions folded).
StatusOr<bool> Run(HloModule* module) override;
};