tabensemb.model.AbstractNN.truncated_bptt_steps#

property

property AbstractNN.truncated_bptt_steps: int#

Enables Truncated Backpropagation Through Time in the Trainer when set to a positive integer.

It represents the number of times training_step() gets called before backpropagation. If this is > 0, the training_step() receives an additional argument hiddens and is expected to return a hidden state.