[tflchef] Fix typo in comment (#2145)
author이상규/동작제어Lab(SR)/Principal Engineer/삼성전자 <sg5.lee@samsung.com>
Wed, 7 Nov 2018 01:19:49 +0000 (10:19 +0900)
committer박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 7 Nov 2018 01:19:49 +0000 (10:19 +0900)
I've spotted several typos during reading tflchef code.
This patch fixes them.

Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
contrib/tflchef/core/src/DataChef.def
contrib/tflchef/core/src/ModelChef.cpp
contrib/tflchef/proto/tflchef.proto

index 0f06afc..10a8b33 100644 (file)
@@ -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<float>)
 DATA_CHEF(FLOAT32, gaussian, GaussianFloat32DataChefFactory)
index 5341451..fa5cbaa 100644 (file)
@@ -221,7 +221,7 @@ GeneratedModel cook(const ::tflchef::ModelRecipe &model_recipe)
   //
   auto flatbuffer_builder = make_unique<flatbuffers::FlatBufferBuilder>(1024);
 
-  // Opreand-related
+  // Operand-related
   std::vector<flatbuffers::Offset<::tflite::Buffer>> buffer_vec;
   std::vector<flatbuffers::Offset<::tflite::Tensor>> tensor_vec;
 
index bc5bf6f..3308414 100644 (file)
@@ -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