aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/reference_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/compiler/xla/reference_util.cc')
-rw-r--r--tensorflow/compiler/xla/reference_util.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/reference_util.cc b/tensorflow/compiler/xla/reference_util.cc
index 8a05d1b0d7..9f1afa2671 100644
--- a/tensorflow/compiler/xla/reference_util.cc
+++ b/tensorflow/compiler/xla/reference_util.cc
@@ -574,9 +574,9 @@ ReferenceUtil::ConvArray4DGeneralDimensionsDilated(
HloInstruction* rhs_instruction =
b.AddInstruction(HloInstruction::CreateConstant(std::move(rhs_literal)));
- PrecisionConfigProto precision_config;
+ PrecisionConfig precision_config;
precision_config.mutable_operand_precision()->Resize(
- /*new_size=*/2, PrecisionConfigProto::DEFAULT);
+ /*new_size=*/2, PrecisionConfig::DEFAULT);
b.AddInstruction(HloInstruction::CreateConvolve(
shape, lhs_instruction, rhs_instruction, /*feature_group_count=*/1,
window, dnums, precision_config));