rmlCreateOperation
Creates constant tensor in the graph context and graph owns it.
| rml_status rmlCreateOperation( | rml_graph graph, | 
| const rml_op_desc* op_desc, | |
| rml_op* op); | 
API
Graph Manipulation
Parameters
| Parameter | Input/Output | Description | 
|---|---|---|
| graph | input | A valid graph handle. | 
| op_desc | input | A pointer to operation description structure. | 
| op | output | The pointer to a resulting operation handle. | 
Return and Status Codes
Returns a valid operation handle in case of success, NULL otherwise.
To get more details in case of failure, call rmlGetLastError().