<!--
{
  "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/BNNSLayerParametersDropout",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "c:@SA@BNNSLayerParametersDropout"
  },
  "title" : "BNNSLayerParametersDropout"
}
-->

# BNNSLayerParametersDropout

A structure that contains the parameters of a dropout layer.

```
struct BNNSLayerParametersDropout
```

## Topics

### Initializers

[`init(i_desc:o_desc:rate:seed:control:)`](/documentation/Accelerate/BNNSLayerParametersDropout/init(i_desc:o_desc:rate:seed:control:))

Returns a new dropout layer parameters structure from the specified parameters.

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

Returns a new dropout layer parameters structure.

### Instance Properties

[`i_desc`](/documentation/Accelerate/BNNSLayerParametersDropout/i_desc)

The descriptor of the input.

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

The descriptor of the output.

[`rate`](/documentation/Accelerate/BNNSLayerParametersDropout/rate)

The probability that the layer drops out an element or a group of elements.

[`seed`](/documentation/Accelerate/BNNSLayerParametersDropout/seed)

The seed for the random number generator which is ignored if zero.

[`control`](/documentation/Accelerate/BNNSLayerParametersDropout/control)

An 8-bit bit mask that indicates the dimension of the grouping of the dropout decision.



---

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)