One Logo Pool Ball
Accelerate · IOS API REFERENCE

BNNSOptimizer

protocol · iOS 14.0+ · SDK 27.1

protocol BNNSOptimizer

===----------------------------------------------------------------------===// Optimizer Step ===----------------------------------------------------------------------===//

Members (1)

method · iOS 14.0+

step

Swift declaration
func step(parameters: [BNNSNDArrayDescriptor], gradients: [BNNSNDArrayDescriptor], accumulators: [BNNSNDArrayDescriptor], filterParameters: BNNSFilterParameters? = nil) throws

Apply a single step of optimization to one or more parameters - Parameter parameterCount:The number of parameters to update - Parameter parameters: Array of mutable pointers to the parameter descriptors to update. - Parameter gradients: Array of pointers to the gradient descriptors. - Parameter accumulators Array of mutable pointers to the accumulator descriptors. - Parameter filterParameters: Filter runtime parameters

Skipped declarations

No declarations were skipped in this snapshot.

All Accelerate types →