SwiftCoreMLTools Documentation Beta

Structure Adam

public struct Adam: Optimizer
%3 Adam Adam Optimizer Optimizer Adam->Optimizer

Conforms To

Optimizer

Initializers

init(learning​Rate​Default:​learning​Rate​Max:​mini​Batch​Size​Default:​mini​Batch​Size​Range:​beta1Default:​beta1Max:​beta2Default:​beta2Max:​eps​Default:​eps​Max:​)

public init(learningRateDefault: Double, learningRateMax: Double, miniBatchSizeDefault: UInt, miniBatchSizeRange: [UInt], beta1Default: Double, beta1Max: Double, beta2Default: Double, beta2Max: Double, epsDefault: Double, epsMax: Double)

Properties

type

let type

learning​Rate​Default

let learningRateDefault: Double

learning​Rate​Max

let learningRateMax: Double

mini​Batch​Size​Default

let miniBatchSizeDefault: UInt

mini​Batch​Size​Range

let miniBatchSizeRange: [UInt]

beta1Default

let beta1Default: Double

beta1Max

let beta1Max: Double

beta2Default

let beta2Default: Double

beta2Max

let beta2Max: Double

eps​Default

let epsDefault: Double

eps​Max

let epsMax: Double