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

# BNNSLayerParametersBroadcastMatMul

A set of parameters that define a broadcast matrix multiply layer.

```
struct BNNSLayerParametersBroadcastMatMul
```

## Topics

### Initializers

[`init(alpha:beta:transA:transB:quadratic:a_is_weights:b_is_weights:iA_desc:iB_desc:o_desc:)`](/documentation/Accelerate/BNNSLayerParametersBroadcastMatMul/init(alpha:beta:transA:transB:quadratic:a_is_weights:b_is_weights:iA_desc:iB_desc:o_desc:))

Returns a new broadcast matrix multiply layer parameters structure from the specified parameters.

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

Returns a new broadcast matrix multiply layer parameters structure.

### Instance Properties

[`alpha`](/documentation/Accelerate/BNNSLayerParametersBroadcastMatMul/alpha)

A value to scale the result.

[`beta`](/documentation/Accelerate/BNNSLayerParametersBroadcastMatMul/beta)

A value, that must be either 0.0 or 1.0, you use to scale the existing output before the operation adds it to the result.

[`transA`](/documentation/Accelerate/BNNSLayerParametersBroadcastMatMul/transA)

A Boolean value that transposes the last two dimensions of matrix *A*.

[`transB`](/documentation/Accelerate/BNNSLayerParametersBroadcastMatMul/transB)

A Boolean value that transposes the last two dimensions of matrix *B*.

[`quadratic`](/documentation/Accelerate/BNNSLayerParametersBroadcastMatMul/quadratic)

A Boolean value that determines whether the operation multiplies matrix *A* by itself.

[`a_is_weights`](/documentation/Accelerate/BNNSLayerParametersBroadcastMatMul/a_is_weights)

A Boolean value that determines whether to treat matrix *A* as weights.

[`b_is_weights`](/documentation/Accelerate/BNNSLayerParametersBroadcastMatMul/b_is_weights)

A Boolean value that determines whether to treat matrix *B* as weights.

[`iA_desc`](/documentation/Accelerate/BNNSLayerParametersBroadcastMatMul/iA_desc)

The descriptor of matrix *A*.

[`iB_desc`](/documentation/Accelerate/BNNSLayerParametersBroadcastMatMul/iB_desc)

The descriptor of matrix *B*.

[`o_desc`](/documentation/Accelerate/BNNSLayerParametersBroadcastMatMul/o_desc)

The descriptor of the output.



---

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)