Neural network transpose layer removal
AssigneeMicron Technology, Inc.
InventorPatrick Estep
Life of this patent
Estimating the term…
Abstract
Devices and techniques for neural network transpose layer removal are described herein. A neural network model that includes matrices of synaptic weights arranged in several layers is obtained. The neural network model is inspected to determine whether a transposition of a matrix to a fully connected layer exists. If there is a matrix transposition, then a modified neural network model is created by changing values of the fully connected layer to correspond to values in the matrix prior to the transposition and eliminating the transposition. The modified neural network model can then be provided to computer hardware to perform inference operations.
Claims30
An apparatus comprising:
- a hybrid threading fabric (HTF);
- and
- a processor configured to:
- obtain a neural network model that includes matrices of synaptic weights arranged in several layers;
- detect, in the neural network model, a transposition of a matrix to a fully connected layer;
- create, in response to detection of the matrix transposition, a modified neural network model, creation of the modified neural network model including:
- changes to values of the fully connected layer to correspond to values in the matrix prior to the transposition;
- and
- elimination of the transposition;
- and
- provide the modified neural network model for inference on the HTF.
A method comprising:
- obtaining a neural network model that includes matrices of synaptic weights arranged in several layers;
- detecting, in the neural network model, a transposition of a matrix to a fully connected layer;
- creating, in response to detecting the matrix transposition, a modified neural network model, including:
- changing values of the fully connected layer to correspond to values in the matrix prior to the transposition;
- and
- eliminating the transposition;
- and
- providing the modified neural network model for inference on computer hardware.
Machine readable media including instructions that, when executed by processing circuitry, cause processing circuitry to perform operations comprising:
- obtaining a neural network model that includes matrices of synaptic weights arranged in several layers;
- detecting, in the neural network model, a transposition of a matrix to a fully connected layer;
- creating, in response to detecting the matrix transposition, a modified neural network model, including:
- changing values of the fully connected layer to correspond to values in the matrix prior to the transposition;
- and
- eliminating the transposition;
- and
- providing the modified neural network model for inference on computer hardware.
Dependencies are inferred from the claim text.