brainpy.nn.runners.RNNTrainer
brainpy.nn.runners.RNNTrainer#
- class brainpy.nn.runners.RNNTrainer(target, **kwargs)[source]#
Structural Trainer for Models with Recurrent Dynamics.
Methods
__init__
(target, **kwargs)fit
(train_data, test_data[, forced_states, ...])predict
(xs[, forced_states, ...])Predict a series of input data with the given target model.
Attributes
train_nodes
train_pars