Dump
产品支持情况
头文件/库文件
- 头文件:#include <graph/graph.h>
- 库文件:libgraph.so
功能说明
将graph序列化到ostream中。
不包含权重等数据,只包含图结构及相关属性。
函数原型
graphStatus Dump(DumpFormat format, std::ostream &o_stream) const
参数说明
dump文件的格式,有onnx、txt等。DumpFormat枚举请参见DumpFormat。 |
||
返回值说明
约束说明
无