aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/hlo_computation.h
diff options
context:
space:
mode:
authorGravatar Mark Heffernan <meheff@google.com>2017-11-03 13:26:47 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-11-03 13:31:12 -0700
commit456929281592f14d50443cfbdaa2f6b36167a134 (patch)
tree8a1a18245a6ef9baed8bd9a9f35b7c250ab64901 /tensorflow/compiler/xla/service/hlo_computation.h
parent5b166f495ae79b6e8144bbd3a1109f4b8d9fb1aa (diff)
Rollback copy insertion change because it results in a DCHECK with an internal model.
END_PUBLIC BEGIN_PUBLIC Automated g4 rollback of changelist 174423881 PiperOrigin-RevId: 174505237
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_computation.h')
-rw-r--r--tensorflow/compiler/xla/service/hlo_computation.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_computation.h b/tensorflow/compiler/xla/service/hlo_computation.h
index 3208197f89..c9782cc981 100644
--- a/tensorflow/compiler/xla/service/hlo_computation.h
+++ b/tensorflow/compiler/xla/service/hlo_computation.h
@@ -152,18 +152,12 @@ class HloComputation {
// computation_map: a map from computation name to HloComputation*. This map
// must contain all computations which the newly constructed computation
// calls.
- // add_fused_computation: A function to call to add a fused
- // computation. Used (clearly) when the instruction is a fusion
- // instruction.
- // fusion_instruction: if non-null then the newly created computation will
- // be
+ // fusion_instruction: if non-null then the newly created computation will be
// constructed as a fused computation with this instruction as its fusion
// parent.
static StatusOr<std::unique_ptr<HloComputation>> CreateFromProto(
HloModule* module, const HloComputationProto& proto,
- const tensorflow::gtl::FlatMap<string, HloComputation*>& computation_map,
- const std::function<void(std::unique_ptr<HloComputation>)>&
- add_fused_computation,
+ tensorflow::gtl::FlatMap<string, HloComputation*>* computation_map,
HloInstruction* fusion_instruction = nullptr);
// Gets the instructions in this computation.