CANN/ge ES构图指南
ES (Eager Style) Documentation【免费下载链接】geGEGraph Engine是面向昇腾的图编译器和执行器提供了计算图优化、多流并行、内存复用和模型下沉等技术手段加速模型执行效率减少模型内存占用。 GE 提供对 PyTorch、TensorFlow 前端的友好接入能力并同时支持 onnx、pb 等主流模型格式的解析与编译。项目地址: https://gitcode.com/cann/geOverviewES (Eager Style) is a functional interface module in GraphEngine for building computation graphs, providing convenient graph building functionality. The ES module supports multiple programming languages (C, C, Python), offering flexible and easy-to-use graph building methods.Core Characteristics of ES Series API:Auto-generation: API is not handwritten but auto-generated based on operator prototype definitions, reducing operator developer burden, especially for custom operators that also need to use ES API for graph building scenarios.Multi-language support: Native support for C, C, and extensible support for Python, meeting different development habits.Full-dimension compatibility: Through good API design and code generation mechanism, combined with IR semantic compatibility handling, achieves forward/backward API and ABI compatibility guarantee from the source.Three Key Components of ES:ES Basic Data Structures(GE Repository/GE Package): Provides core infrastructure likeEsGraphBuilder(graph builder),EsTensorHolder(tensor holder), which are the foundation for graph building.ES Code Generator(GE Repository/GE Package): Core toolgen_esb, responsible for reading operator prototype definitions and auto-generating graph building API code for each operator.Generated ES API(OPP Package): The final artifact built by generator, included in operator package, is the function interface that users directly call.Quick NavigationAPI Reference DocumentationPython API- Eager Style Graph Builder Python Interface DocumentationMain interfaces of GraphBuilder, TensorHolder and other basic classesC/C API- Eager Style Graph Builder C/C Interface DocumentationMain interfaces of EsGraphBuilder, EsTensorHolder and other basic classesDesign DocumentationOverall Architecture Design- ES module overall architecture design explanationOwnership Relationship Analysis- ES module Python layer and C layer resource management mechanism explanationTool Documentationgen_esb Code Generation Tool- ES code generation tool usage instructionsTool functionality explanationUsage method and parameter explanationgenerate_es_package.cmake- ES code generation, build, install one-stop cmake functionFunctionality explanationUsage method and parameter explanationRFC DocumentationRFC Directory- Design proposal documentsNew feature proposalsArchitecture improvement plansAPI change suggestionsDocument Structuredocs/es/ ├── README.md # This file, document navigation entry ├── api/ # API reference documentation ├── design/ # Design and technical analysis documentation ├── tools/ # Tool usage documentation └── rfc/ # RFC proposal documentsSampleMulti-language samples using ES for graph buildingMulti-language samples for custom ES API graph buildingDevelopment RoadmapWe first introduced ES functionality in 2025, aiming to provide convenient multi-language graph building capability, support full operator auto API generation, and achieve good forward/backward compatibility. In Q1 2026, we will focus on completing API integration and C graph building backward compatibility capability, allowing users to directly install ops package and use ES graph building capability, without manually generating code. Specific development roadmap is as follows:Core Architecture[December 2025]ES core architecture design completed and implemented, supporting full prototype code generation and multi-language (C, C, Python) graph building.API Integration[December 2025]math sub-package completed ES API integration.[February 2026]nn, cv, transformer completed ES API integration.[June 2026]hcom sub-package to complete ES API integration.Note: Before full prototype ES API is packaged into various operator sub-packages, if you need to use ES API, you can refer to generate_es_package.cmake in tool documentation for code generation and integration.Samples and Documentation[December 2025]Multi-language samples provided, covering common use cases.[December 2025]Detailed documentation provided, i.e., this directory.[January 2026]Collective communication samples delivered.Backward Compatibility[December 2025]Python API backward compatibility design completed and implemented.[January 2026]C API backward compatibility design completed; C API backward compatibility depends on completingHistorical Prototype Librarydesign plan.[March 2026]C API backward compatibility code development completed; achieve complete backward compatibility capability for C graph building scenarios.Custom Operator Project Integration[TBD]ascendc custom operator project integration of ES code generation capability, no plan yet.【免费下载链接】geGEGraph Engine是面向昇腾的图编译器和执行器提供了计算图优化、多流并行、内存复用和模型下沉等技术手段加速模型执行效率减少模型内存占用。 GE 提供对 PyTorch、TensorFlow 前端的友好接入能力并同时支持 onnx、pb 等主流模型格式的解析与编译。项目地址: https://gitcode.com/cann/ge创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

相关新闻

Gradle Docker插件在企业级项目中的应用案例:终极容器化部署指南

Gradle Docker插件在企业级项目中的应用案例:终极容器化部署指南

Gradle Docker插件在企业级项目中的应用案例:终极容器化部署指南 【免费下载链接】gradle-docker a Gradle plugin for orchestrating docker builds and pushes. 项目地址: https://gitcode.com/gh_mirrors/gr/gradle-docker 在企业级软件开发中&#xff0c…

2026/7/4 7:13:38阅读更多 →
status-go API使用手册:从C绑定到HTTP服务的完整接口指南

status-go API使用手册:从C绑定到HTTP服务的完整接口指南

status-go API使用手册:从C绑定到HTTP服务的完整接口指南 【免费下载链接】status-go The "backend" library for Status Apps 项目地址: https://gitcode.com/gh_mirrors/st/status-go status-go作为Status应用的核心后端库,提供了从C…

2026/7/4 7:13:38阅读更多 →
Spirit Web Player常见问题解答:新手必知的8个关键知识点

Spirit Web Player常见问题解答:新手必知的8个关键知识点

Spirit Web Player常见问题解答:新手必知的8个关键知识点 【免费下载链接】spirit 🙌 Play Spirit animations on the web 项目地址: https://gitcode.com/gh_mirrors/spi/spirit Spirit Web Player是一款轻量级的Web动画播放工具,能够…

2026/7/4 7:13:38阅读更多 →
揭秘gh_mirrors/do/dotfiles-archive:顶级终端美化方案背后的代码实现原理

揭秘gh_mirrors/do/dotfiles-archive:顶级终端美化方案背后的代码实现原理

揭秘gh_mirrors/do/dotfiles-archive:顶级终端美化方案背后的代码实现原理 【免费下载链接】dotfiles-archive Dotfiles for all :D 项目地址: https://gitcode.com/gh_mirrors/do/dotfiles-archive gh_mirrors/do/dotfiles-archive是一个功能强大的终端美化…

2026/7/4 9:08:51阅读更多 →
免费音乐歌词下载神器:3分钟快速掌握163MusicLyrics完整使用教程

免费音乐歌词下载神器:3分钟快速掌握163MusicLyrics完整使用教程

免费音乐歌词下载神器:3分钟快速掌握163MusicLyrics完整使用教程 【免费下载链接】163MusicLyrics 云音乐歌词获取处理工具【网易云、QQ音乐】 项目地址: https://gitcode.com/GitHub_Trending/16/163MusicLyrics 还在为音乐播放器缺少歌词而烦恼吗&#xff…

2026/7/4 9:08:51阅读更多 →
Mermaid Live Editor:用代码绘制专业图表的可视化革命

Mermaid Live Editor:用代码绘制专业图表的可视化革命

Mermaid Live Editor:用代码绘制专业图表的可视化革命 【免费下载链接】mermaid-live-editor Edit, preview and share mermaid charts/diagrams. New implementation of the live editor. 项目地址: https://gitcode.com/GitHub_Trending/me/mermaid-live-editor…

2026/7/4 9:08:51阅读更多 →
Mermaid在线编辑器完整指南:5个实用技巧制作专业图表

Mermaid在线编辑器完整指南:5个实用技巧制作专业图表

Mermaid在线编辑器完整指南:5个实用技巧制作专业图表 【免费下载链接】mermaid-live-editor Edit, preview and share mermaid charts/diagrams. New implementation of the live editor. 项目地址: https://gitcode.com/GitHub_Trending/me/mermaid-live-editor …

2026/7/4 9:08:51阅读更多 →
hashdeep审计模式深度解析:专业数字取证工具的应用实践

hashdeep审计模式深度解析:专业数字取证工具的应用实践

hashdeep审计模式深度解析:专业数字取证工具的应用实践 【免费下载链接】hashdeep 项目地址: https://gitcode.com/gh_mirrors/ha/hashdeep hashdeep是一款功能强大的跨平台哈希计算工具,其审计模式(audit mode)为数字取证…

2026/7/4 9:08:51阅读更多 →
oXygen XML Editor—— XML编辑与结构化内容管理的优秀工具

oXygen XML Editor—— XML编辑与结构化内容管理的优秀工具

oXygen XML Editor是用于XML创作和开发的重要工具,为所有用户(从初学者到专家)量身定制的,它是通用的、跨平台的,并且可以作为独立应用程序和Eclipse插件使用。凭借对XML技术的强大支持,它提供了易于创建、…

2026/7/4 9:03:51阅读更多 →
AI Coding 六个月真实ROI账本:产品经理的血泪教训,研发的冷静忠告

AI Coding 六个月真实ROI账本:产品经理的血泪教训,研发的冷静忠告

6个月前的2025年12月,Boris Cherny 公开宣布自己卸载了 IDE。一时间,Vibe Coding 成了全行业最热的话题。6个月后,当我们回过头来拉一份真实账本,发现事情远没有"一句话生成一个App"那么浪漫。本文从产品经理和研发两个…

2026/7/3 14:18:39阅读更多 →
审计来了,数据权限全开——审计走了,怎么确保权限全部关掉?

审计来了,数据权限全开——审计走了,怎么确保权限全部关掉?

引言:审计结束三个月了,审计员的权限还没关某城商行每年按照监管要求开展至少一次数据安全审计。审计期间,内审部门需要抽样检查各类业务数据——交易流水、客户信息、员工操作日志、权限配置记录。这些数据分布在不同系统中,审计…

2026/7/3 14:38:35阅读更多 →
端到端自动驾驶:从GTC‘26看工程可信落地的核心逻辑

端到端自动驾驶:从GTC‘26看工程可信落地的核心逻辑

1. 项目概述:当算法工程师走进GTC26展厅,看到的不是芯片,而是“端到端”的呼吸节奏“端到端”这三个字,在GTC’26现场出现的频率,高得像NVLink带宽测试时的峰值曲线——它不再是一个论文里的技术路径选项,而…

2026/7/4 0:02:48阅读更多 →
缺牙修复科普:常见义齿类型与选择参考

缺牙修复科普:常见义齿类型与选择参考

缺牙修复科普:常见义齿类型与选择参考牙齿缺失是中老年人群中较为常见的口腔问题,不仅会造成咀嚼不便、进食受影响,长期还可能对营养摄入与日常社交带来困扰。义齿是改善缺牙问题的常用方式,目前市面上的义齿种类较多,…

2026/7/4 0:02:48阅读更多 →
STM32F091RC与LTC6904实现高精度方波信号生成

STM32F091RC与LTC6904实现高精度方波信号生成

1. 项目概述:LTC6904与STM32F091RC的精准方波生成方案在嵌入式系统开发中,精确的时钟信号和定时控制往往是项目成败的关键。LTC6904作为一款低功耗、高精度的可编程振荡器芯片,与STM32F091RC这款ARM Cortex-M0内核微控制器的组合,…

2026/7/4 0:02:48阅读更多 →
YOLOv8推理性能优化:从1.2FPS到35FPS的全链路加速实践

YOLOv8推理性能优化:从1.2FPS到35FPS的全链路加速实践

如果你在部署 YOLOv8 时,发现推理速度只有可怜的 1-2 FPS,而别人的演示视频却能跑到 30 FPS 以上,那么问题很可能不在模型本身,而在于你的整个处理链路。很多开发者拿到一个训练好的 YOLOv8 模型后,会直接使用官方示例…

2026/7/4 1:16:56阅读更多 →
Coze与Dify对比指南:低代码AI应用开发从入门到实战

Coze与Dify对比指南:低代码AI应用开发从入门到实战

1. 从零到一:为什么你需要了解 Coze 和 Dify?如果你对 AI 应用开发感兴趣,但一看到“大模型”、“智能体”、“工作流”这些词就头疼,觉得门槛太高,那这篇文章就是为你准备的。很多开发者,包括我自己&#…

2026/7/4 2:33:55阅读更多 →
AI生图工具怎么选?2026年6月版实测对比

AI生图工具怎么选?2026年6月版实测对比

做自媒体的朋友应该都有体会:配图一直是个让人头疼的问题。2026年,AI生图工具已经非常成熟了,但工具太多反而不知道怎么选。以下是截至2026年6月我对主流AI生图工具的实测对比。Midjourney V8.1:速度之王2026年6月11日&#xff0c…

2026/7/4 2:33:55阅读更多 →