Adagrad

public struct Adagrad<Layer> : Optimizer where Layer : LayerType
extension Adagrad: Codable where Layer: Codable

Adagrad optimizer

Follows Duchi et al - Adaptive Subgradient Methods for Online Learning and Stochastic Optimization

Available where Layer: Codable

  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws