Introduction
The Graph Engine (GE) provides a collection of secure and easy-to-use APIs for image composition. These APIs can be called to build a network model, and set the graph in a model, operators in a graph, and attributes of the model and operators. This API collection consists of the following modules:
- API types
- Operator
The Operator module represents the basic operator type and provides APIs for the operator attribute access and input/output configuration.
- Graph
The Graph module represents a diagram constructed by connected operators. This module provides APIs for input/output configuration and graph verification.
- Model
The Model module represents the model corresponding to a graph. This module provides the model version and APIs for the model attribute access and model graph access.
- Operator
- Auxiliary (data) types
- AttrValue
- NamedAttr
- Attribute instance in the key-value format
- AttrHolder
- Stores attribute values of operators.
- NamedAttr
- Tensor
- TensorDesc: Describes the tensor information, including:
- Shape: tensor shape
- DataType: tensor data type
- Format: tensor format
- TensorDesc: Describes the tensor information, including:
- AttrValue
You can view the API definition files in ddk/include/inc/graph in the installation directory of the DDK. If you install Mind Studio and the DDK together in boot installation mode, you can log in to the Mind Studio server as the Mind Studio installation user and view the API definition files in ~/tools/che/ddk/ddk/include/inc/graph. For details about the mapping between the definition files and the APIs, see the API description.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot