From b2e53b91019f9ab00fe133fe10b2d29bc7e5886c Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 16 May 2018 20:31:29 -0700 Subject: Making GetOptionalInput from kernel_util.h return a pointer to const data. PiperOrigin-RevId: 196932028 --- tensorflow/contrib/lite/kernels/pad.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tensorflow/contrib/lite/kernels/pad.cc') diff --git a/tensorflow/contrib/lite/kernels/pad.cc b/tensorflow/contrib/lite/kernels/pad.cc index b1eb6f76a4..ecac2dd5e3 100644 --- a/tensorflow/contrib/lite/kernels/pad.cc +++ b/tensorflow/contrib/lite/kernels/pad.cc @@ -45,7 +45,7 @@ struct PadContext { output = GetOutput(context, node, 0); dims = NumDimensions(input); } - TfLiteTensor* constant_values; + const TfLiteTensor* constant_values; const TfLiteTensor* input; const TfLiteTensor* paddings; TfLiteTensor* output; -- cgit v1.2.3