From 8d525dc401284bbfe7a9e5a1a8192ab22df2d42b Mon Sep 17 00:00:00 2001 From: Oceania2018 <haiping008@gmail.com> Date: Sun, 15 Mar 2020 06:06:29 -0500 Subject: [PATCH] typo of TF_STRING in TF_Tensor comments. --- tensorflow/c/tf_tensor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tensorflow/c/tf_tensor.h b/tensorflow/c/tf_tensor.h index 462fdc8b497..186361390b2 100644 --- a/tensorflow/c/tf_tensor.h +++ b/tensorflow/c/tf_tensor.h @@ -58,9 +58,9 @@ extern "C" { // start_offset: array[uint64] // data: byte[...] // -// The string length (as a varint), followed by the contents of the string -// is encoded at data[start_offset[i]]]. TF_StringEncode and TF_StringDecode -// facilitate this encoding. +// The string length (as a varint, start_offset[i + 1] - start_offset[i]), +// followed by the contents of the string is encoded at data[start_offset[i]]. +// TF_StringEncode and TF_StringDecode facilitate this encoding. typedef struct TF_Tensor TF_Tensor;