Backends Nodes implemented

This commit is contained in:
Luis Fernando Molina committed 2021-02-11 16:58:45 +01:00
1 parent 09e4d26ceb
commit 17c9c076c0
9 files changed
+273 -3

No files matched your search

+173 -3
View File
@@ -4,8 +4,8 @@
"menuItems": [
{
"action": "Add UI Object",
"label": "Add TensorFlow",
"relatedUiObject": "TensorFlow",
"label": "Add Machine Learning",
"relatedUiObject": "Machine Learning",
"actionFunction": "payload.executeAction"
},
{
@@ -35,7 +35,7 @@
"icon": "tensorflow"
},
{
"type": "TensorFlow",
"type": "Machine Learning",
"menuItems": [
{
"action": "Add UI Object",
@@ -69,6 +69,38 @@
{
"type": "TensorFlow Library",
"menuItems": [
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "backend",
"label": "Add WebGL Backend",
"relatedUiObject": "WebGL Backend",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "backend",
"label": "Add NodeJS Backend",
"relatedUiObject": "NodeJS Backend",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "backend",
"label": "Add WASM Backend",
"relatedUiObject": "WASM Backend",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "backend",
"label": "Add CPU Backend",
"relatedUiObject": "CPU Backend",
"actionFunction": "payload.executeAction"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
@@ -85,6 +117,144 @@
"compatibleTypes": "->Learning System->"
},
"propertyNameAtParent": "machineLearningLibrary",
"childrenNodesProperties": [
{
"name": "backend",
"type": "node",
"childType": "WebGL Backend"
},
{
"name": "backend",
"type": "node",
"childType": "NodeJS Backend"
},
{
"name": "backend",
"type": "node",
"childType": "WASM Backend"
},
{
"name": "backend",
"type": "node",
"childType": "CPU Backend"
}
],
"icon": "tensorflow"
},
{
"type": "WebGL Backend",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{ \n \"codeName\": \"webgl\"\n}"
},
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->TensorFlow Library->"
},
"propertyNameAtParent": "backend",
"childrenNodesProperties": [
],
"icon": "tensorflow"
},
{
"type": "NodeJS Backend",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{ \n \"codeName\": \"node\"\n}"
},
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->TensorFlow Library->"
},
"propertyNameAtParent": "backend",
"childrenNodesProperties": [
],
"icon": "tensorflow"
},
{
"type": "WASM Backend",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{ \n \"codeName\": \"wasm\"\n}"
},
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->TensorFlow Library->"
},
"propertyNameAtParent": "backend",
"childrenNodesProperties": [
],
"icon": "tensorflow"
},
{
"type": "CPU Backend",
"menuItems": [
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{ \n \"codeName\": \"cpu\"\n}"
},
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->TensorFlow Library->"
},
"propertyNameAtParent": "backend",
"childrenNodesProperties": [
],
"icon": "tensorflow"
}
]