LogTraces

struct defined in module FluxTraining


			LogTraces(backends...) <: Callback

Callback that logs step traces to one or more LoggerBackends.

See also LoggerBackend, Loggables.Loggable, log_to, TensorBoardBackend

Example:


			
			
			
			logcb
			 
			=
			 
			

			LogTraces
			(
			

	
			TensorBoardBackend
			(
			
			"
			tblogs
			"
			)
			)
			

			
			tracer
			 
			=
			 
			

	
			Traces
			(
			
			(
			
			trace
			 
			=
			 
			
			learner
			 
			->
			 
			
			
			
			learner
			.
			
			step
			.
			
			loss
			^
			2
			,
			)
			,
			 

	
			TrainingPhase
			)
			

			

	
			Learner
			(
			model
			,
			 
			lossfn
			
			;
			 
			
			callbacks
			=
			
			[
			tracer
			,
			 
			logcb
			]
			)
Methods

There is 1 method for FluxTraining.LogTraces: