brainpy.math.training_mode#

brainpy.math.training_mode = TrainingMode#

Training mode requires data batching.