---
title: BNNSGraph.Builder.OperationParameter
framework: accelerate
role: symbol
role_heading: Protocol
path: accelerate/bnnsgraph/builder/operationparameter
---

# BNNSGraph.Builder.OperationParameter

A protocol that allows functions to accept either tensors or collections.

## Declaration

```swift
protocol OperationParameter<Element>
```

## Topics

### Operators

- [*(_:_:)](accelerate/bnnsgraph/builder/operationparameter/*(_:_:)-386tk.md)
- [*(_:_:)](accelerate/bnnsgraph/builder/operationparameter/*(_:_:)-3h4np.md)
- [+(_:_:)](accelerate/bnnsgraph/builder/operationparameter/+(_:_:)-2u9f3.md)
- [+(_:_:)](accelerate/bnnsgraph/builder/operationparameter/+(_:_:)-8d4pt.md)
- [-(_:_:)](accelerate/bnnsgraph/builder/operationparameter/-(_:_:)-8vtfy.md)
- [-(_:_:)](accelerate/bnnsgraph/builder/operationparameter/-(_:_:)-9ywu4.md)
- [/(_:_:)](accelerate/bnnsgraph/builder/operationparameter/_(_:_:)-1ojod.md)
- [/(_:_:)](accelerate/bnnsgraph/builder/operationparameter/_(_:_:)-78g8y.md)
- [%(_:_:)](accelerate/bnnsgraph/builder/operationparameter/_(_:_:)-8fwxf.md)

### Associated Types

- [Element](accelerate/bnnsgraph/builder/operationparameter/element.md)

### Instance Methods

- [graphBuilderTensor(_:)](accelerate/bnnsgraph/builder/operationparameter/graphbuildertensor(_:).md)

## Relationships

### Conforming Types

- [BNNSGraph.Builder.Tensor](accelerate/bnnsgraph/builder/tensor.md)
