Browse Source

fix(meta): fix typo in meta json description

Signed-off-by: Jianxiang Ran <rxan_embedded@163.com>
Jianxiang Ran 2 years ago
parent
commit
2269122570

+ 2 - 2
build-plugins.sh

@@ -53,7 +53,7 @@ build(){
             if [ "$(uname -m)" = "aarch64" ]; then
                 cp $(pwd)/extensions/functions/dependencies/tensorflow/arm64/*.so $(pwd)/extensions/functions/labelImage/lib
             fi;
-            CGO_CFLAGS=-I/tmp/tensorflow CGO_LDFLAGS=-L$(pwd)/extensions/functions/labelImage/lib go build -trimpath -modfile extensions.mod --buildmode=plugin -o extensions/functions/labelImage/labelImage.so extensions/functions/labelImage/*.go
+            CGO_CFLAGS=-I/tmp/tensorflow CGO_LDFLAGS=-L$(pwd)/extensions/functions/labelImage/lib go build -trimpath -modfile extensions.mod --buildmode=plugin -o extensions/functions/labelImage/labelImage@$VERSION.so extensions/functions/labelImage/*.go
             ;;
         tfLite )
             if [ ! -d "/tmp/tensorflow" ];then
@@ -65,7 +65,7 @@ build(){
             if [ "$(uname -m)" = "aarch64" ]; then
                 cp $(pwd)/extensions/functions/dependencies/tensorflow/arm64/*.so $(pwd)/extensions/functions/tfLite/lib
             fi;
-                CGO_CFLAGS=-I/tmp/tensorflow CGO_LDFLAGS=-L$(pwd)/extensions/functions/tfLite/lib go build -trimpath -modfile extensions.mod --buildmode=plugin -o extensions/functions/tfLite/tfLite.so extensions/functions/tfLite/*.go
+                CGO_CFLAGS=-I/tmp/tensorflow CGO_LDFLAGS=-L$(pwd)/extensions/functions/tfLite/lib go build -trimpath -modfile extensions.mod --buildmode=plugin -o extensions/functions/tfLite/tfLite@$VERSION.so extensions/functions/tfLite/*.go
             ;;
         * )
             go build -trimpath -modfile extensions.mod --buildmode=plugin -o extensions/$PLUGIN_TYPE/$PLUGIN_NAME/$PLUGIN_NAME@$VERSION.so extensions/$PLUGIN_TYPE/$PLUGIN_NAME/*.go

+ 1 - 0
extensions/functions/accumulateWordCount/accumulateWordCount.json

@@ -16,6 +16,7 @@
 			"zh_CN": ""
 		}
 	},
+	"name": "accumulateWordCount",
 	"functions": [{
 		"name": "accumulateWordCount",
 		"example": "accumulateWordCount(col1)",

+ 1 - 0
extensions/functions/countPlusOne/countPlusOne.json

@@ -16,6 +16,7 @@
 			"zh_CN": ""
 		}
 	},
+	"name": "countPlusOne",
 	"functions": [{
 		"name": "countPlusOne",
 		"example": "countPlusOne(col1)",

+ 1 - 0
extensions/functions/echo/echo.json

@@ -16,6 +16,7 @@
 			"zh_CN": ""
 		}
 	},
+	"name": "echo",
 	"functions": [{
 		"name": "echo",
 		"example": "echo(col1)",

+ 2 - 0
extensions/functions/labelImage/labelImage.json

@@ -16,6 +16,8 @@
 			"zh_CN": ""
 		}
 	},
+	"libs": [],
+	"name": "labelImage",
 	"functions": [{
 		"name": "labelImage",
 		"example": "labelImage(col1)",

+ 2 - 2
extensions/functions/tfLite/tfLite.json

@@ -19,8 +19,8 @@
 	"libs": [],
 	"name": "tfLite",
 	"functions": [{
-		"name": "tflite",
-		"example": "tflite(model,para1, para2,...)",
+		"name": "tfLite",
+		"example": "tfLite(model,para1, para2,...)",
 		"hint": {
 			"en_US": "Creates a scaled image with new dimensions (width, height) .If either width or height is set to 0, it will be set to an aspect ratio preserving value.",
 			"zh_CN": "创建具有新尺寸(宽度,高度)的缩放图像。如果width或height设置为0,则将其设置为长宽比保留值。"