LogMetrics

struct defined in module FluxTraining


			LogMetrics(backends...) <: Callback

Callback that logs step and epoch metrics to one or more LoggerBackends.

See also LoggerBackend, Loggables.Loggable, log_to, TensorBoardBackend

Example:


			
			
			
			logcb
			 
			=
			 
			

			LogMetrics
			(
			

	
			TensorBoardBackend
			(
			
			"
			tblogs
			"
			)
			)
			

			

	
			Learner
			(
			model
			,
			 
			lossfn
			
			;
			 
			
			callbacks
			=
			
			[
			

	
			Metrics
			(

	
			accuracy
			)
			,
			 
			logcb
			]
			)
Methods

There is 1 method for FluxTraining.LogMetrics: