rmlLoadGraph

Loads graph from file.

rml_status rmlLoadGraph(

const rml_char* path,

rml_graph* graph);

API

Graph Manipulation

Parameters

Parameter

Input/Output

Description

path

input

Path to a graph in the TF or ONNX formats.

graph

output

A pointer to a resulting graph.

Return and Status Codes

Returns a valid graph handle in case of success, NULL otherwise.

To get more details in case of failure, call rmlGetLastError().

The graph should be released with rmlReleaseGraph().