BNNSGraphContextMake(_:)
Returns an allocated and initialized graph context from the specified graph.
Declaration
func BNNSGraphContextMake(_ graph: bnns_graph_t) -> bnns_graph_context_tParameters
- graph:
The compiled graph object.
Return Value
A compiled graph context object. If the operation fails, the graph object’s data property is nil.
Discussion
To prevent memory leaks, call BNNSGraphContextDestroy(_:) when you’re finished using the graph context.