diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-03-20 14:33:19 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-03-20 14:36:15 -0700 |
commit | 546d1d467372a176f337f2614165c6d754a386da (patch) | |
tree | 3cd9382a91d16523b9249c9fbefb2ac8980f8eaf /tensorflow/compiler/xla/service/hlo_computation.h | |
parent | a0e07f998b388f0ecc7b7cf2256522f28482b285 (diff) |
[XLA] Simplify the HLO proto: don't nest the fusion computation in an fusion HloInstructionProto.
PiperOrigin-RevId: 189811729
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_computation.h')
-rw-r--r-- | tensorflow/compiler/xla/service/hlo_computation.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_computation.h b/tensorflow/compiler/xla/service/hlo_computation.h index dd9d346999..630d3675de 100644 --- a/tensorflow/compiler/xla/service/hlo_computation.h +++ b/tensorflow/compiler/xla/service/hlo_computation.h @@ -163,17 +163,9 @@ 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 only when the instruction is a fusion instruction. - // 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, - HloInstruction* fusion_instruction = nullptr); + const tensorflow::gtl::FlatMap<string, HloComputation*>& computation_map); // Gets the instructions in this computation. // |