A method for training a model, the method including: defining a primary model for identifying a class of input data based on a first characteristic of the input data; defining a secondary model for detecting a change to a second characteristic between multiple input data captured at different times; defining a forward link from an output of an intermediate layer of the secondary model to an input of an intermediate layer of the primary model; and training the primary model and the secondary model in parallel based on a training set of input data.
展开▼