Importing an Operator Project
This section describes how to import a sample project. MindStudio provides a complete set of operator implementation code samples, and allows you to deploy and verify operators and perform operator network verification without modifying the code.
- Navigate to the dialog box for project importing.
- On the MindStudio welcome page, click Open in the Welcome to MindStudio window.
- On the MindStudio project page, choose from the top menu bar.
- In the Open File or Project window, select the folder of the sample project.
The TBE sample project is stored in MindStudio/plugins/ascend-foundation/samples/operator_demo_projects/quick_start in the MindStudio installation directory.
- Click OK to import the TBE sample project.
If you open the project for the first time, the trust window is displayed, indicating that the functions provided by MindStudio may execute potential malicious code in the project. In this case, confirm the code before importing the project.
If an error message is displayed when you open the project, the CANN version has not been configured in the sample project configuration file. Click OK to change the CANN version number to the actual one. For details about how to modify the properties of the operator project, see Editing Project Properties.