ShortTermState

Contents

ShortTermState#

class braincore.ShortTermState(value)#

The short-term state, which is used to store the short-term data in the program.

For example, in a training process, the gradients of the model are short-term states.