Available translations

Environment Flags

tensorflow.png
tensorflow.png
TensorFlow.js has a set of environment flags that are automatically evaluated and determine the best configuration in the current platform. These flags are mostly internal, but a few global flags can be controlled with public API.
Right click and select the pencil button to enter edit mode.
Environment Flags Menu
The Environment Flags node has the following Node Menu items:
The Add Debug Mode menu item has the following properties:
  • action: Add UI Object
  • actionProject: Visual-Scripting
  • disableIfPropertyIsDefined: true
  • propertyToCheckFor: mode
  • label: Add Debug Mode
  • relatedUiObject: Debug Mode
  • actionFunction: payload.executeAction
  • relatedUiObjectProject: TensorFlow
The Add Production Mode menu item has the following properties:
  • action: Add UI Object
  • actionProject: Visual-Scripting
  • disableIfPropertyIsDefined: true
  • propertyToCheckFor: mode
  • label: Add Production Mode
  • actionFunction: payload.executeAction
  • relatedUiObjectProject: TensorFlow
The Delete menu item has the following properties:
  • action: Delete UI Object
  • actionProject: Visual-Scripting
  • askConfirmation: true
  • confirmationLabel: Confirm to Delete
  • label: Delete
  • iconPathOn: delete-entity
  • iconPathOff: delete-entity
  • actionFunction: payload.executeAction
Environment Flags Children
The Environment Flags node has the following childrenNodesProperties:
The Mode node property features the following properties:
  • name: mode
  • type: node
  • childType: Debug Mode
The Mode node property features the following properties:
  • name: mode
  • type: node
Environment Flags Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Environment Flags with other nodes:
Compatible Types: