Prediction on a pre-trained neural network
이전 댓글 표시
I would like to define my own neural network and do predictions on it without performing any training.
Something like:
- Define layers
- Set the weights and biases of each layer (based on a trained model from another context)
- Perform prediction
An example of 1) is below
layers = [
imageInputLayer([32 32 1])
convolution2dLayer(5,6)
batchNormalizationLayer
reluLayer
maxPooling2dLayer(2,'Stride',2)
convolution2dLayer(5,6)
batchNormalizationLayer
reluLayer
maxPooling2dLayer(2,'Stride',2)
fullyConnectedLayer(80)
batchNormalizationLayer
reluLayer
fullyConnectedLayer(6)
batchNormalizationLayer
];
Any pointers on 2) and 3) would be appreciated.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!