diff options
author | HyoukJoong Lee <hyouklee@google.com> | 2018-10-05 07:46:22 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-05 07:50:27 -0700 |
commit | 92c8a77ba480bf4aeddea412cc1d2988f6ad81cd (patch) | |
tree | 79d2501bb790c05f1542cf3deaf9fa098b6557af /tensorflow/compiler/xla/service/hlo_module_group_metadata.cc | |
parent | 123de2797a4348c963b597096762085bfa09eab1 (diff) |
Use absl::Span for HloModuleGroupMetadata
PiperOrigin-RevId: 215905026
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_module_group_metadata.cc')
-rw-r--r-- | tensorflow/compiler/xla/service/hlo_module_group_metadata.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_module_group_metadata.cc b/tensorflow/compiler/xla/service/hlo_module_group_metadata.cc index 83352ef91b..b4aac4c807 100644 --- a/tensorflow/compiler/xla/service/hlo_module_group_metadata.cc +++ b/tensorflow/compiler/xla/service/hlo_module_group_metadata.cc @@ -59,7 +59,7 @@ string HloModuleGroupMetadata::TrackedInstruction::ToString() const { } /* static */ StatusOr<std::unique_ptr<HloModuleGroupMetadata>> -HloModuleGroupMetadata::Build(const std::vector<HloModule*>& modules) { +HloModuleGroupMetadata::Build(absl::Span<HloModule* const> modules) { auto metadata = absl::make_unique<HloModuleGroupMetadata>(modules); TF_RETURN_IF_ERROR(metadata->Build()); return std::move(metadata); |