Contents

bnns_graph_context_t

An object that wraps a compiled graph object.

Declaration

struct bnns_graph_context_t

Overview

The bnns_graph_context_t object wraps a bnns_graph_t instance and adds mutable data storage. BNNS requires mutability to support dynamic shapes and other execution objects.

You must ensure that the underlying bnns_graph_t instance remains valid throughout the lifetime of the context.

Topics

Initializing a context

Specifying a context’s properties

See Also

Creating and destroying a context