Scheduler

struct defined in module FluxTraining


			Scheduler(schedules...)

Callback for hyperparameter scheduling. Takes pairs of HyperParameter types and ParameterSchedulers.jl schedules .

See the tutorial for more information.

Example


			
			
			
			es
			 
			=
			 
			
			length
			(
			
			
			learner
			.
			
			data
			.
			
			training
			)
			

			
			lrschedule
			 
			=
			 
			
			
			ParameterSchedulers
			.
			
			Step
			(
			
			;
			
			λ
			=
			1.0
			,
			 
			
			γ
			=
			0.9
			,
			 
			
			step_sizes
			=
			
			[
			10
			,
			 
			20
			]
			)
			

			
			scheduler
			 
			=
			 
			

			Scheduler
			(
			
    
			

	
			LearningRate
			 
			=>
			 
			lrschedule
			

			)
Methods

There is 1 method for FluxTraining.Scheduler: