Back to results
US 12,216,566 B2Granted
Debug operations on artificial intelligence operations
OwnerAlberto Troiainventor
Life of this patent
Estimating the term…
Abstract
The present disclosure includes apparatuses and methods related to performing a debug operation on an artificial intelligence operation. An example apparatus can include a number of memory arrays and a controller, wherein the controller is configured to perform an artificial intelligence (AI) operation on data stored in the number of memory arrays and perform a debug operation on the AI operation.
Claims19
An apparatus, comprising:
- an artificial intelligence (AI) accelerator;
- a number of memory arrays coupled to the AI accelerator;
- a number of registers coupled to the AI accelerator;
- and
- a controller coupled to the AI accelerator, wherein the controller is configured to:
- perform an AI operation via the AI accelerator using at least one of:
- activation function data, partial results of AI operations, or bias value data;
- store a location of a layer of a neural network where an error occurred during the AI operation in a first register of the number of registers in response to the error occurring;
- stop the AI operation at the layer of the neural network where the error occurred in response to a particular bit of a second register of the number of registers being programmed to a particular state;
- and
- perform a debug operation on the AI operation in response to a particular bit of a third register of the number of registers being programmed to a particular state.
8 more elements
An apparatus, comprising:
- an artificial intelligence (AI) accelerator;
- a number of memory arrays coupled to the AI accelerator;
- a number of registers coupled to the AI accelerator;
- and
- a controller coupled to the AI accelerator, wherein the controller is configured to:
- perform an AI operation via the AI accelerator using at least one of:
- activation function data, partial results of AI operations, or bias value data;
- store a location of a layer of a neural network where an error occurred during the AI operation in a first register of the number of registers in response to the error occurring;
- stop the AI operation at the layer of the neural network where the error occurred;
- perform a debug operation on the AI operation to identify errors of the AI operation in response to a particular bit of a second register of the number of registers being programmed to a particular state;
- store data in a temporary memory block of the number of memory arrays in response to a particular bit of a third register of the number of registers being programmed to a particular state;
- and
- change the data stored in the temporary memory block to correct the identified errors.
10 more elements
A method, comprising:
- receiving a debug command from a host;
- programming a particular bit of a first register of a number of registers to a particular state in response to receiving the debug command from the host;
- performing an artificial intelligence (AI) operation via an AI accelerator coupled to the number of registers using at least one of:
- activation function data, partial results of AI operations, or bias value data;
- storing a location of a layer of a neural network where an error occurred during the AI operation in a second register of the number of registers in response to the error occurring;
- stopping the AI operation at the layer of the neural network where the error occurred;
- performing a debug operation on the AI operation in response to the particular bit of the first register being programmed to the particular state;
- programming a particular bit of a third register of the number of registers to a particular state;
- and
- storing data in a temporary memory block in response to the particular bit of the third register being programmed to the particular state.
7 more elements
Dependencies are inferred from the claim text.