From: 박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 Date: Fri, 12 Jul 2019 05:14:15 +0000 (+0900) Subject: [exo/tflite] Remove commented function declarations (#4218) X-Git-Tag: nncc_backup~104 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75d17846efc471fb8ae4798040410462622e4316;p=platform%2Fcore%2Fml%2Fnnfw.git [exo/tflite] Remove commented function declarations (#4218) These functions declarations are no longer used, but just commented to reduce the amount of code diff. Signed-off-by: Jonghyun Park --- diff --git a/contrib/exo-tflite/src/TypeInference.h b/contrib/exo-tflite/src/TypeInference.h index 9dcf79d..43d75cb 100644 --- a/contrib/exo-tflite/src/TypeInference.h +++ b/contrib/exo-tflite/src/TypeInference.h @@ -21,33 +21,6 @@ #include -// Tensor type inference functions -#if 0 -tflite::TensorType getOpResultType(loco::ConstGen *node, TypeContext &); - -tflite::TensorType getOpResultType(loco::Pull *node, TypeContext &); - -tflite::TensorType getOpResultType(loco::ReLU *node, TypeContext &gd); - -tflite::TensorType getOpResultType(loco::MaxPool2D *node, TypeContext &gd); - -tflite::TensorType getOpResultType(loco::AvgPool2D *node, TypeContext &gd); - -tflite::TensorType getOpResultType(loco::Conv2D *node, TypeContext &gd); - -tflite::TensorType getOpResultType(loco::FeatureEncode *node, TypeContext &gd); - -tflite::TensorType getOpResultType(loco::FeatureDecode *node, TypeContext &gd); - -tflite::TensorType getOpResultType(loco::FilterEncode *node, TypeContext &gd); - -tflite::TensorType getOpResultType(loco::TensorConcat *node, TypeContext &gd); - -tflite::TensorType getOpResultType(loco::BiasEncode *node, TypeContext &gd); - -tflite::TensorType getOpResultType(loco::BiasAdd *node, TypeContext &gd); -#endif - /** * @brief Annotate the type of each node as NodeAnnotation * @@ -65,33 +38,6 @@ struct TypeInference static tflite::TensorType get(loco::Node *node); }; -// Shape inference functions -#if 0 -ShapeDescription getOpResultShape(loco::Pull *node, ShapeContext &); - -ShapeDescription getOpResultShape(loco::ConstGen *node, ShapeContext &); - -ShapeDescription getOpResultShape(loco::MaxPool2D *node, ShapeContext &gd); - -ShapeDescription getOpResultShape(loco::AvgPool2D *node, ShapeContext &gd); - -ShapeDescription getOpResultShape(loco::Conv2D *node, ShapeContext &gd); - -ShapeDescription getOpResultShape(loco::ReLU *node, ShapeContext &gd); - -ShapeDescription getOpResultShape(loco::FeatureEncode *node, ShapeContext &gd); - -ShapeDescription getOpResultShape(loco::FeatureDecode *node, ShapeContext &gd); - -ShapeDescription getOpResultShape(loco::FilterEncode *node, ShapeContext &gd); - -ShapeDescription getOpResultShape(loco::TensorConcat *node, ShapeContext &gd); - -ShapeDescription getOpResultShape(loco::BiasEncode *node, ShapeContext &gd); - -ShapeDescription getOpResultShape(loco::BiasAdd *node, ShapeContext &gd); -#endif - /** * @brief Annotate the shape of each node as a node annotation *