Merge remote-tracking branch 'origin/master' into tizen
authorTizenAPI-Bot <tizenapi@samsung.com>
Tue, 5 Dec 2023 15:09:45 +0000 (15:09 +0000)
committerTizenAPI-Bot <tizenapi@samsung.com>
Tue, 5 Dec 2023 15:09:45 +0000 (15:09 +0000)
.github/workflows/deploy-documents-for-tizen-docs.yml
.github/workflows/deploy-documents.yml
src/Tizen.MachineLearning.Inference/Tizen.MachineLearning.Inference/TensorsData.cs

index e0fe0e8..8c2e8dd 100644 (file)
@@ -15,7 +15,7 @@ jobs:
   build:
     runs-on: [self-hosted, linux, x64]
     container:
-      image: tizendotnet/tizenfx-build-worker:2.0
+      image: tizendotnet/tizenfx-build-worker:2.2
 
     steps:
     - uses: actions/checkout@v3
index a21138c..e7338e3 100644 (file)
@@ -10,7 +10,7 @@ jobs:
   build:
     runs-on: [self-hosted, linux, x64]
     container:
-      image: tizendotnet/tizenfx-build-worker:2.0
+      image: tizendotnet/tizenfx-build-worker:2.2
 
     steps:
     - uses: actions/checkout@v3
index 330aacc..8440155 100755 (executable)
@@ -50,7 +50,7 @@ namespace Tizen.MachineLearning.Inference
 
             /* Set count */
             int count = 0;
-            ret = Interop.Util.GetTensorsCount(_handle, out count);
+            ret = Interop.Util.GetTensorsCount(_tensorsInfo.GetTensorsInfoHandle(), out count);
             NNStreamer.CheckException(ret, "unable to get the count of TensorsData");
 
             _dataList = new ArrayList(count);