LoadFromSerializedModelArray
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <graph/graph.h>
- Library file: libgraph.so
Function Usage
Restores a graph from the serialized data of ModelDef.
Prototype
1 | graphStatus LoadFromSerializedModelArray(const void *serialized_model, size_t size) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
serialized_model |
Input |
Pointer to the serialized data of ModelDef. |
size |
Input |
Length of the serialized data of ModelDef. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
graphStatus |
GRAPH_SUCCESS(0): success. Other values: failure. |
Constraints
Only AIR files can be read.
Parent topic: Graph