---
title: BNNSGraphArgumentType
framework: accelerate
role: symbol
role_heading: Structure
path: accelerate/bnnsgraphargumenttype
---

# BNNSGraphArgumentType

Constants that specify the argument type for a graph context.

## Declaration

```swift
struct BNNSGraphArgumentType
```

## Topics

### Argument types

- [init(_:)](accelerate/bnnsgraphargumenttype/init(_:).md)
- [init(rawValue:)](accelerate/bnnsgraphargumenttype/init(rawvalue:).md)

### Instance Properties

- [rawValue](accelerate/bnnsgraphargumenttype/rawvalue.md)
- [BNNSGraphArgumentTypePointer](accelerate/bnnsgraphargumenttypepointer.md)
- [BNNSGraphArgumentTypeTensor](accelerate/bnnsgraphargumenttypetensor.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)

## See Also

### Specifying and querying a context’s properties

- [BNNSGraphContextSetStreamingAdvanceCount(_:_:)](accelerate/bnnsgraphcontextsetstreamingadvancecount(_:_:).md)
- [BNNSGraphContextSetArgumentType(_:_:)](accelerate/bnnsgraphcontextsetargumenttype(_:_:).md)
- [BNNSGraphContextSetDynamicShapes(_:_:_:_:)](accelerate/bnnsgraphcontextsetdynamicshapes(_:_:_:_:).md)
- [bnns_graph_shape_t](accelerate/bnns_graph_shape_t.md)
- [BNNSGraphContextSetBatchSize(_:_:_:)](accelerate/bnnsgraphcontextsetbatchsize(_:_:_:).md)
- [BNNSGraphContextEnableNanAndInfChecks(_:_:)](accelerate/bnnsgraphcontextenablenanandinfchecks(_:_:).md)
- [BNNSGraphContextGetWorkspaceSize(_:_:)](accelerate/bnnsgraphcontextgetworkspacesize(_:_:).md)
- [BNNSGraphContextSetStreamingAdvanceCount(_:_:)](accelerate/bnnsgraphcontextsetstreamingadvancecount(_:_:).md)
