NAdam

struct defined in module Flux.Optimise


			NAdam(η = 0.001, β::Tuple = (0.9, 0.999), ϵ = 1.0e-8)

NAdam is a Nesterov variant of Adam. Parameters don't need tuning.

Parameters

  • Learning rate ( η): Amount by which gradients are discounted before updating the weights.

  • Decay of momentums ( β::Tuple): Exponential decay for the first (β1) and the second (β2) momentum estimate.

Examples


			
			
			
			opt
			 
			=
			 
			

			NAdam
			(
			)
			

			

			
			opt
			 
			=
			 
			

			NAdam
			(
			0.002
			,
			 
			
			(
			0.89
			,
			 
			0.995
			)
			)
Methods