30 Unstar Star 121 Fork 195

MindSpore / docsApache-2.0

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
  • Jupyter Notebook 95.1%
  • Python 4.7%
  • Makefile 0.1%
  • Shell 0.1%
Clone or download 1.53 KB
Copy Edit Web IDE Raw Blame History
JunYuLiu authored 2020-09-11 11:36 . Modify the format of markdown

Overall Architecture

Linux Windows Ascend GPU CPU On Device Model Development Model Optimization Framework Development Intermediate Expert Contributor

The MindSpore framework consists of the Frontend Expression layer, Graph Engine layer, and Backend Runtime layer.


  • MindSpore Frontend Expression layer

    This layer contains Python APIs, MindSpore intermediate representation (IR), and graph high level optimization (GHLO).

    • Python APIs provide users with a unified API for model training, inference, and export, and a unified API for data processing and format transformation.
    • GHLO includes optimization irrelevant to hardware (such as dead code elimination), auto parallel, and auto differentiation.
    • MindSpore IR provides unified intermediate representations, based on which MindSpore performs pass optimization.
  • MindSpore Graph Engine layer

    This layer contains graph low level optimization (GLLO) and graph execution.

    • GLLO includes hardware-related optimization and in-depth optimization related to the combination of hardware and software, such as operator fusion and buffer fusion.
    • Graph execution provides communication APIs required for offline graph execution and distributed training.
  • MindSpore Backend Runtime layer

    This layer contains the efficient running environments on the cloud, edge and device.



131423 f1aaba0b 1899542 094922 1c74bed3 1899542