skip

function defined in module Flux.Optimise


			skip()

Call Flux.skip() in a callback to indicate when a callback condition is met. This will trigger the train loop to skip the current data point and not update with the calculated gradient.

Note

Flux.skip() will be removed from Flux 0.14

Examples


			
			
			
			cb
			 
			=
			 
			
			function
			 
			
			(
			)
			
			
  
			
			
			
			loss
			(
			)
			 
			>
			 
			1e7
			 
			&&
			 
			
			

	
			Flux
			.
			
			skip
			(
			)
			

			end
Methods

There is 1 method for Flux.Optimise.skip: