aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/hlo_subcomputation_unification_test.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-06-19 10:48:05 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-06-19 10:54:20 -0700
commit46737e4e81314f7482bfd6a710f126a27f5d7975 (patch)
tree5e441f99cfe123f3b7a70ffcb79f7b308a5e04c8 /tensorflow/compiler/xla/service/hlo_subcomputation_unification_test.cc
parent09d090282667e28ed04547ee0dcf1b6faba75659 (diff)
Remove class xla::LiteralUtil. NFC (mind-numbingly so).
This patch removes class xla::LiteralUtil and rewrites every call to use class xla::Literal instead. PiperOrigin-RevId: 159446373
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_subcomputation_unification_test.cc')
-rw-r--r--tensorflow/compiler/xla/service/hlo_subcomputation_unification_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_subcomputation_unification_test.cc b/tensorflow/compiler/xla/service/hlo_subcomputation_unification_test.cc
index 867ebc7f61..c98856b192 100644
--- a/tensorflow/compiler/xla/service/hlo_subcomputation_unification_test.cc
+++ b/tensorflow/compiler/xla/service/hlo_subcomputation_unification_test.cc
@@ -75,7 +75,7 @@ TEST_F(HloSubcomputationUnificationTest, UnifyIdentities) {
module->AddEmbeddedComputation(CreateR0S32IdentityComputation());
auto constant = builder.AddInstruction(
- HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32>(5)));
+ HloInstruction::CreateConstant(Literal::CreateR0<int32>(5)));
auto x = builder.AddInstruction(
HloInstruction::CreateCall(r0s32_, {constant}, callee1));
auto y = builder.AddInstruction(
@@ -110,9 +110,9 @@ TEST_F(HloSubcomputationUnificationTest, UnifyAdditions) {
module->AddEmbeddedComputation(CreateR0S32AdditionComputation());
auto constant1 = builder.AddInstruction(
- HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32>(5)));
+ HloInstruction::CreateConstant(Literal::CreateR0<int32>(5)));
auto constant2 = builder.AddInstruction(
- HloInstruction::CreateConstant(LiteralUtil::CreateR0<int32>(3)));
+ HloInstruction::CreateConstant(Literal::CreateR0<int32>(3)));
auto x = builder.AddInstruction(
HloInstruction::CreateCall(r0s32_, {constant1, constant2}, callee1));
auto y = builder.AddInstruction(