One Logo Pool Ball
Accelerate · IOS API REFERENCE

BNNS.DropoutLayer

class · iOS 14.0+ · SDK 27.1

class DropoutLayer

A dropout layer.

Members (1)

init · iOS 14.0+

init

TypeScript
static init(input: BNNSNDArrayDescriptor, output: BNNSNDArrayDescriptor, rate: number, seed: number, control: number, filterParameters?: (BNNSFilterParameters) | null): (BNNS_DropoutLayer) | null
Swift declaration
convenience init?(input: BNNSNDArrayDescriptor, output: BNNSNDArrayDescriptor, rate: Float, seed: UInt32, control: UInt8, filterParameters: BNNSFilterParameters? = nil)

Creates a new dropout layer. - Parameter input: The input descriptor. - Parameter output: The output descriptor. - Parameter rate: The probability of an element or a group of elements is dropped out. - Parameter seed: The seed for the random number generator. - Parameter control: An 8-bit bit mask that indicates which dimension the dropout decision is grouped. - Parameter filterParameters: Runtime filter parameters.

Skipped declarations

No declarations were skipped in this snapshot.

All Accelerate types →