diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-10-05 09:29:00 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-05 09:32:36 -0700 |
commit | 5a43e01ef0f8cb86d836a4d1c08a246630e26f8c (patch) | |
tree | 20af6c3c98b4527e7c9d38909b900b86cf395e52 /tensorflow/compiler/xla | |
parent | d258207f1583df4faa452265b051879af6c15dac (diff) |
Update XlaSort to match the underlying HLO.
PiperOrigin-RevId: 215917470
Diffstat (limited to 'tensorflow/compiler/xla')
-rw-r--r-- | tensorflow/compiler/xla/service/hlo_verifier.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_verifier.cc b/tensorflow/compiler/xla/service/hlo_verifier.cc index b5498bb936..c22ee03388 100644 --- a/tensorflow/compiler/xla/service/hlo_verifier.cc +++ b/tensorflow/compiler/xla/service/hlo_verifier.cc @@ -548,6 +548,7 @@ Status CheckMixedPrecisionOperands(const HloInstruction* instruction) { case HloOpcode::kTupleSelect: case HloOpcode::kSend: case HloOpcode::kSendDone: + case HloOpcode::kSort: case HloOpcode::kTuple: case HloOpcode::kWhile: break; @@ -1153,7 +1154,6 @@ StatusOr<bool> HloVerifier::Run(HloModule* module) { TF_RETURN_IF_ERROR(VerifyHloStructure(module)); TF_RETURN_IF_ERROR(VerifySendsAndRecvs(*module)); - for (auto* computation : module->computations()) { std::unique_ptr<ShapeVerifier> shape_verifier = shape_verifier_factory_(); TF_RETURN_IF_ERROR(computation->Accept(shape_verifier.get())); |