- alexnet: https://www.mathworks.com/help/deeplearning/ref/alexnet.html
- layer graph: https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layergraph.html
Does anyone have the source code for the alexnet add-on?
    8 views (last 30 days)
  
       Show older comments
    
I am currently working on a project that uses alexnet and I was wondering if anyone had the source code for it.
0 Comments
Answers (1)
  Prasanna
      
 on 9 Jun 2025
        Hi Matthew,
Alexnet is fully accessible programmatically via the ‘alexnet’ function. When you call the function, MATLAB loads a pretrained DAGNetwork object that includes all layer definitions, weights, and connections. While the internal training process and some implementation-level details are abstracted, you can easily inspect and modify the architecture.
To view the source-like definition of the network, you can use:
net = alexnet;
layers = net.Layers;
lgraph = layerGraph(net);
For more details regarding ‘alexnet’, you can refer to the following documentations:
Hope this helps!
0 Comments
See Also
Categories
				Find more on Deep Learning Toolbox in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
