From 963e8466d9b3b46e7471a0e09c1812c564bc1165 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9D=B4=EC=83=81=EA=B7=9C/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Principal=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Wed, 7 Nov 2018 10:19:49 +0900 Subject: [PATCH] [tflchef] Fix typo in comment (#2145) I've spotted several typos during reading tflchef code. This patch fixes them. Signed-off-by: Sanggyu Lee --- contrib/tflchef/core/src/DataChef.def | 2 +- contrib/tflchef/core/src/ModelChef.cpp | 2 +- contrib/tflchef/proto/tflchef.proto | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/tflchef/core/src/DataChef.def b/contrib/tflchef/core/src/DataChef.def index 0f06afc..10a8b33 100644 --- a/contrib/tflchef/core/src/DataChef.def +++ b/contrib/tflchef/core/src/DataChef.def @@ -3,6 +3,6 @@ #endif // DATA_CHEF // DATA_CHEF(TYPE, NAME, FACTORY_CLASS) -// "TYPE" SHOULD BE a enum tag of tflchef::TensorType +// "TYPE" SHOULD BE an enum tag of tflchef::TensorType DATA_CHEF(FLOAT32, constant, ConstantDataChefFactory) DATA_CHEF(FLOAT32, gaussian, GaussianFloat32DataChefFactory) diff --git a/contrib/tflchef/core/src/ModelChef.cpp b/contrib/tflchef/core/src/ModelChef.cpp index 5341451..fa5cbaa 100644 --- a/contrib/tflchef/core/src/ModelChef.cpp +++ b/contrib/tflchef/core/src/ModelChef.cpp @@ -221,7 +221,7 @@ GeneratedModel cook(const ::tflchef::ModelRecipe &model_recipe) // auto flatbuffer_builder = make_unique(1024); - // Opreand-related + // Operand-related std::vector> buffer_vec; std::vector> tensor_vec; diff --git a/contrib/tflchef/proto/tflchef.proto b/contrib/tflchef/proto/tflchef.proto index bc5bf6f..3308414 100644 --- a/contrib/tflchef/proto/tflchef.proto +++ b/contrib/tflchef/proto/tflchef.proto @@ -21,7 +21,7 @@ message Operand { optional TensorType type = 2; optional TensorShape shape = 3; optional TensorFiller filler = 4; - // TODO Support Quantiziation Parameter + // TODO Support Quantization Parameter } // This enum value corresponds to Padding in TensorFlow Lite schema -- 2.7.4