CPC H03M 13/096 (2013.01) [G06F 11/1476 (2013.01); G06F 18/22 (2023.01); G06F 18/231 (2023.01); G06N 3/063 (2013.01); G06N 3/08 (2013.01); H03M 13/15 (2013.01)] | 18 Claims |
15. A method of detecting errors in weights used in a neural network processor, the method comprising:
parsing a model of a neural network and determining a CRC block size n for each layer of the neural network;
calculating a CRC checksum value for each block of n weights, said CRC checksum values operative to protect the weights in each block;
populating a memory with blocks of weights including associated precalculated CRC checksums;
configuring a layer control unit (LCU) circuit for each layer of the neural network to skip over precalculated CRC checksums in each block during neural network calculations;
wherein said weights are subsequently read from the memory and used in neural network calculations performed on said processor; and
wherein said CRC checksum values are subsequently read from the memory and compared to CRC checksums calculated over weights read from the memory for each block and used in the neural network calculations.
|