Dump
Applicability
|
Product |
Supported or Not |
|---|---|
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Header File/Library File
- Header file: #include <graph/graph.h>
- Library file: libgraph.so
Function Usage
Serializes a graph to the ostream.
Data such as weights is not included. Only the graph structure and related attributes are included.
Prototype
1
|
graphStatus Dump(DumpFormat format, std::ostream &o_stream) const |
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
format |
Input |
Dump file format, such as onnx and txt. For details about the DumpFormat enumerations, see DumpFormat. |
|
o_stream |
Input |
Output stream. |
Returns
Constraints
None
Parent topic: Graph