简介

本文档主要描述给应用用户或者上层框架提供了安全易用的构图接口集合,开发者可以调用这些接口构建网络模型,设置模型所包含的图、图内的算子以及算子的属性信息(包括Input、Output及其他属性信息)。

您可以在CANN软件包安装路径查看对应接口的头文件。

接口分类

头文件路径

Parser解析接口

/include/parser/tensorflow_parser.h

/include/parser/caffe_parser.h

/include/parser/onnx_parser.h

Graph构建接口

/include/graph/graph.h

Graph修改接口

/include/graph/graph.h

/include/graph/gnode.h

Graph编译接口

/include/ge/ge_ir_build.h

Graph运行接口

/include/ge/ge_api.h

维测接口

/include/ge/ge_prof.h

其他接口

/include/ge/ge_ir_build.h

/include/ge/ge_api_error_codes.h

数据类型

/include/ge/ge_api_types.h