mindspore.graph

Graph compilation module. This module opens internal compilation interfaces, allowing users to modify compilation behavior at the Python layer.

Graph compilation

mindspore.graph.register_custom_backend

Register a custom backend with MindSpore and use it for model compilation and execution.

mindspore.graph.register_custom_pass

Register a custom pass to modify graph structure for default "ms_backend" backend.