aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/hlo_computation.h
diff options
context:
space:
mode:
authorGravatar Tim Shen <timshen@google.com>2018-08-30 16:03:10 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-30 16:07:27 -0700
commit6f879f891abe2e267c5cf512d034d7c3641cfdb0 (patch)
tree33dfda2aa13bdec06d3aa330dd5816441d449fa7 /tensorflow/compiler/xla/service/hlo_computation.h
parent5d5591fbd4624ff7e50f305464667315f2d41ebb (diff)
[XLA] Rename all (Mutable)ArraySlice to absl::Span.
PiperOrigin-RevId: 210998142
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_computation.h')
-rw-r--r--tensorflow/compiler/xla/service/hlo_computation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_computation.h b/tensorflow/compiler/xla/service/hlo_computation.h
index 59016624f7..daafb711fd 100644
--- a/tensorflow/compiler/xla/service/hlo_computation.h
+++ b/tensorflow/compiler/xla/service/hlo_computation.h
@@ -237,7 +237,7 @@ class HloComputation {
// removed if they have no uses after fusion (this is necessarily true for at
// least the root).
HloInstruction* CreateFusionInstruction(
- tensorflow::gtl::ArraySlice<HloInstruction*> instructions_to_fuse,
+ absl::Span<HloInstruction* const> instructions_to_fuse,
HloInstruction::FusionKind fusion_kind);
// Create a deep copy of the given instruction and return the instruction
@@ -385,7 +385,7 @@ class HloComputation {
//
// Pre-condition: fusion_instruction's opcode is kFusion.
void FuseInstructionsInto(
- tensorflow::gtl::ArraySlice<HloInstruction*> instructions_to_fuse,
+ absl::Span<HloInstruction* const> instructions_to_fuse,
HloInstruction* fusion_instruction);
// Internal helper for recursive copying of an instruction. Creates and