Undefined function or variable 'batchNormalizationLayer'.
5 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
I want to run this code form MATLAB examples, however I get this error that "Undefined function or variable 'batchNormalizationLayer'."
The code is as follow which can also be found in https://nl.mathworks.com/help/nnet/ref/nnet.cnn.layer.batchnormalizationlayer.html :
layers = [
imageInputLayer([28 28 1])
convolution2dLayer(3,8,'Padding',1)
batchNormalizationLayer
reluLayer
maxPooling2dLayer(2,'Stride',2)
convolution2dLayer(3,16,'Padding',1)
batchNormalizationLayer
reluLayer
maxPooling2dLayer(2,'Stride',2)
convolution2dLayer(3,32,'Padding',1)
batchNormalizationLayer
reluLayer
fullyConnectedLayer(10)
softmaxLayer
classificationLayer];
Can someone tell me what is wrong?
Thank you in advance.
3 个评论
Bashar Saad
2019-6-4
Dear bro
I've same the problem did you solve it or not yet ?? if you solve it can you share me the file of the function??? thanks a lot
I'm waiting your response
回答(1 个)
Ankita Bansal
2018-6-8
You can view all installed toolboxes using the Add-On Manager. To open the Add-On Manager, go to the Home tab and select Add-Ons > Manage Add-Ons.
1 个评论
Darshal Suka
2019-5-24
Hi, I have the toolbox installed but I still get this error. Any idea how I can solve this?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!