fit!

function defined in module FluxTraining


			fit!(learner, nepochs)
fit!(learner, nepochs, (trainiter, validiter))

Train learner for nepochs of training and validation each. Use data iterators that are passed in. If none are given, use learner.data.training and learner.data.validation.

Examples


			
			
			

			fit!
			(
			learner
			,
			 
			10
			)
			

			

			fit!
			(
			learner
			,
			 
			10
			,
			 
			
			(
			traindl
			,
			 
			valdl
			)
			)