Fix typo Tenosr to Tensor 40/317340/2
authorBhuvan Reddy Gangula <bhu1.gangula@samsung.com>
Tue, 31 Dec 2024 01:52:47 +0000 (10:52 +0900)
committerBhuvan Reddy Gangula <bhu1.gangula@samsung.com>
Wed, 5 Feb 2025 02:08:55 +0000 (02:08 +0000)
Change-Id: Ieb20afda9e9459bbbe5e1dc1157b1f075bb3dcec
Signed-off-by: Bhuvan Reddy Gangula <bhu1.gangula@samsung.com>
mv_machine_learning/inference/include/Inference.h
mv_machine_learning/inference/src/Inference.cpp

index 269f8b037457a66f202b1c89774aaa5685b54ae2..31c2fed3f3e2918924cf9424e9f7d1698df38713 100644 (file)
@@ -393,7 +393,7 @@ private:
        int convertOutputDataTypeToFloat();
        int preprocess(std::vector<mv_source_h> &mv_sources, std::vector<cv::Mat> &cv_sources);
        inference_tensor_data_type_e convertToIE(int given_type);
-       int prepareTenosrBuffers(void);
+       int prepareTensorBuffers(void);
        void cleanupTensorBuffers(void);
        int setUserFile(std::string filename);
 };
index 8f131afdc430d42a8740e515eca86653fe073e85..94cb1c868857481efbe26a0c23072c06824d6cff 100644 (file)
@@ -614,7 +614,7 @@ void Inference::cleanupTensorBuffers(void)
        LOGI("LEAVE");
 }
 
-int Inference::prepareTenosrBuffers(void)
+int Inference::prepareTensorBuffers(void)
 {
        // If there are input and output tensor buffers allocated before then release the buffers.
        // They will be allocated again according to a new model file to be loaded.
@@ -867,7 +867,7 @@ int Inference::load(void)
        std::vector<std::string>().swap(models);
 
        // Prepare input and output tensor buffers.
-       ret = prepareTenosrBuffers();
+       ret = prepareTensorBuffers();
        if (ret != INFERENCE_ENGINE_ERROR_NONE) {
                LOGE("Fail to prepare buffer");
                mCanRun = false;