54 lines
1.7 KiB
JSON
54 lines
1.7 KiB
JSON
{
|
|
"type": "Layers API",
|
|
"menuItems": [
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "layersModel",
|
|
"label": "Add Sequential Model",
|
|
"relatedUiObject": "Sequential Model",
|
|
"actionFunction": "payload.executeAction",
|
|
"relatedUiObjectProject": "TensorFlow"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "layersModel",
|
|
"label": "Add Functional Model",
|
|
"relatedUiObject": "Functional Model",
|
|
"actionFunction": "payload.executeAction",
|
|
"relatedUiObjectProject": "TensorFlow"
|
|
},
|
|
{
|
|
"action": "Delete UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"askConfirmation": true,
|
|
"confirmationLabel": "Confirm to Delete",
|
|
"label": "Delete",
|
|
"iconPathOn": "delete-entity",
|
|
"iconPathOff": "delete-entity",
|
|
"actionFunction": "payload.executeAction"
|
|
}
|
|
],
|
|
"addLeftIcons": true,
|
|
"level": 3,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->Model->"
|
|
},
|
|
"propertyNameAtParent": "api",
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "layersModel",
|
|
"type": "node",
|
|
"childType": "Sequential Model"
|
|
},
|
|
{
|
|
"name": "layersModel",
|
|
"type": "node",
|
|
"childType": "Functional Model"
|
|
}
|
|
],
|
|
"icon": "tensorflow"
|
|
} |