diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2018-05-03 14:16:27 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-05-04 10:26:54 -0700 |
commit | 05425f25ee1f8b83624127cf0f403b6751e7d70a (patch) | |
tree | 2f545875c622e36613c8d5ff77fc4f59519c7a87 /tensorflow/compiler/xla/tests/test_utils.cc | |
parent | a4a9e372f6af694e91ef7aaae9f23867d0ec0fc2 (diff) |
[TF:XLA] clean up interface to xla::VerifyHloModule
It seems that the first argument, platform, is unused.
PiperOrigin-RevId: 195309504
Diffstat (limited to 'tensorflow/compiler/xla/tests/test_utils.cc')
-rw-r--r-- | tensorflow/compiler/xla/tests/test_utils.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/tests/test_utils.cc b/tensorflow/compiler/xla/tests/test_utils.cc index 997a1d8273..810cc25f1b 100644 --- a/tensorflow/compiler/xla/tests/test_utils.cc +++ b/tensorflow/compiler/xla/tests/test_utils.cc @@ -339,8 +339,7 @@ StatusOr<std::vector<std::unique_ptr<Literal>>> MakeFakeArguments( return std::move(arguments); } -Status VerifyHloModule(const se::Platform& platform, HloModule* const module, - bool allow_mixed_precision) { +Status VerifyHloModule(HloModule* const module, bool allow_mixed_precision) { return HloVerifier(allow_mixed_precision).Run(module).status(); } |