CANN/GE融合传递示例
2026/9/10 4:43:50 网站建设 项目流程

Fusion Pass Examples

【免费下载链接】geGE(Graph Engine)是面向昇腾的图编译器和执行器,提供了计算图优化、多流并行、内存复用和模型下沉等技术手段,加速模型执行效率,减少模型内存占用。 GE 提供对 PyTorch、TensorFlow 前端的友好接入能力,并同时支持 onnx、pb 等主流模型格式的解析与编译。项目地址: https://gitcode.com/cann/ge

This directory provides examples for implementing custom fusion passes by inheriting GE-provided classes and overriding their methods:

ExampleExample Link
MatMul+Add fused to GEMM custom pass exampleREADME
Move ReLU after Concat before Concat custom pass exampleREADME
Move ReLU after Concat before Concat custom pass example (Python version)README
Modify Conv operator data format custom pass exampleREADME
Modify Conv operator data format custom pass example (Python version)README

Development Guide

If developing pattern-based fusion passes, recommended reading:

  • Fusion Pattern Pass Mechanism
  • Python Fusion Pass Development Guide
  • C++ Fusion Pass Development Guide

【免费下载链接】geGE(Graph Engine)是面向昇腾的图编译器和执行器,提供了计算图优化、多流并行、内存复用和模型下沉等技术手段,加速模型执行效率,减少模型内存占用。 GE 提供对 PyTorch、TensorFlow 前端的友好接入能力,并同时支持 onnx、pb 等主流模型格式的解析与编译。项目地址: https://gitcode.com/cann/ge

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询