aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/hlo_computation.h
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-02-13 18:57:53 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-02-13 19:01:45 -0800
commit7325919e07e2ae45b3b5436db1dc9f26a51af6c6 (patch)
treebfa9931089ce6339846c44c8d6a3b44a625c6152 /tensorflow/compiler/xla/service/hlo_computation.h
parente5840b71a2199ec4b1f04281a7c45cbb4157c510 (diff)
Automated g4 rollback of changelist 185598764
PiperOrigin-RevId: 185623948
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_computation.h')
-rw-r--r--tensorflow/compiler/xla/service/hlo_computation.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_computation.h b/tensorflow/compiler/xla/service/hlo_computation.h
index 39d864efcb..061c59abe5 100644
--- a/tensorflow/compiler/xla/service/hlo_computation.h
+++ b/tensorflow/compiler/xla/service/hlo_computation.h
@@ -77,14 +77,6 @@ class HloComputation {
return last_added_instruction_;
}
- Status ForEachInstruction(
- const std::function<Status(const HloInstruction*)>& func) const {
- for (const auto& instruction : instructions_) {
- TF_RETURN_IF_ERROR(func(instruction.get()));
- }
- return Status::OK();
- }
-
private:
const string name_;
HloInstruction* last_added_instruction_;