<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/bnns_graph_t",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@SA@bnns_graph_t"
  },
  "title" : "bnns_graph_t"
}
-->

# bnns_graph_t

The compiled graph object.

```
struct bnns_graph_t
```

## Topics

### Initializing a graph

[`init()`](/documentation/Accelerate/bnns_graph_t/init())

Creates an empty graph structure.

[`init(data:size:)`](/documentation/Accelerate/bnns_graph_t/init(data:size:))

Creates a graph structure from the specified opaque graph object.

### Instance properties

[`data`](/documentation/Accelerate/bnns_graph_t/data)

A pointer to opaque graph object.

[`size`](/documentation/Accelerate/bnns_graph_t/size)

The size, in bytes, of the opaque graph object.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)