Patent ID: 11948391
Assignee: BOE TECHNOLOGY GROUP CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is executed by the processor to implement:
determining a current weight matrix for multiple identification objects according to a current training result of a neural network model;
calculating a difficulty vector corresponding to the multiple identification objects according to the current weight matrix; and
selecting next training samples of the multiple identification objects for a next training according to the difficulty vector;
wherein the computer program is executed by the processor to implement:
calculating a cosine distance matrix according to the current weight matrix and a transposed matrix of the current weight matrix; wherein the cosine distance matrix is calculated by the following conditional formula:

D=W*WT,

wherein D is the cosine distance matrix, WT is the transposed matrix of the current weight matrix, and W is the current weight matrix.