Adam

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

Adam optimizer (Adaptive moment estimation)

Follows Kingma et al. - Adam: A method for stochastic optimization

Available where Layer: Codable

  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws