Hauptinhalt

Projektion

Projizieren von Netzschichten mithilfe von Hauptkomponentenanalyse (PCA); Reduzieren der Anzahl lernbarer Parameter

Projizieren Sie Schichten durch Durchführung einer Hauptkomponentenanalyse (PCA) auf die Schichtaktivierungen unter Verwendung eines für die Trainingsdaten repräsentativen Datensatzes und Anwendung linearer Projektionen auf die lernbaren Schichtparameter. Vorwärtsdurchläufe eines projizierten tiefen neuronalen Netzes sind in der Regel schneller, wenn Sie das Netz mit bibliotheksfreier C/C++ Codegenerierung auf eingebetteter Hardware bereitstellen.

Einen detaillierten Überblick über die in der Deep Learning Toolbox™ Model Compression Library verfügbaren Komprimierungstechniken finden Sie unter Reduce Memory Footprint of Deep Neural Networks.

Simplified illustration of projection. On the left is a sketch of a neural network with two layers that consist of three and two neurons, respectively. Every neuron in the first layer is connected to every neuron in the second layer. An arrow points to a second sketch on the right, which shows a different model that consists of three layers, with three, one, and two neurons, respectively. The right network has fewer weights in total compared to the left.

Funktionen

compressNetworkUsingProjectionCompress neural network using projection (Seit R2022b)
neuronPCAPrincipal component analysis of neuron activations (Seit R2022b)
unpackProjectedLayersUnpack projected layers of neural network (Seit R2023b)
ProjectedLayerCompressed neural network layer using projection (Seit R2023b)
gruProjectedLayerGated recurrent unit (GRU) projected layer for recurrent neural network (RNN) (Seit R2023b)
lstmProjectedLayerLong short-term memory (LSTM) projected layer for recurrent neural network (RNN) (Seit R2022b)

Themen

Enthaltene Beispiele