- layerNormalizationLayer: https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.layernormalizationlayer.html
- batchNormalizationLayer: https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.batchnormalizationlayer.html
'importTensorFlowLayers' does not support 'tf.keras.layers.Normalization'
9 views (last 30 days)
Show older comments
Hi,
I am using the latest relase version of Matlab, and I think 'importTensorFlowLayer's does not support 'tf.keras.layers.Normalization'.
'tf.keras.layers.Normalization' layer remembers mean and variance in its layer to nomralize input data. Do you have a plan to support this layer, or how can I replace this layer to work in Matlab?
Thanks.
0 Comments
Answers (1)
Bhuvanyu Dogra
on 17 Aug 2021
It is my understanding that you are looking for alternatives of the layer 'tf.keras.layers.Normalization' in MATLAB R2021a.
'layerNormalizationLayer' or 'batchNormalizationLayer' can serve as alternatives as they provide normalization across all channels or individual channels. Moreover, 'batchNormalizationLayer' has the ability to use mean or variance for prediction.
For more information, refer to the following documentation:
For more information on the TensorFlow-Keras layers supported in MATLAB using 'importTensorFlowLayers', refer to the following documentation:
0 Comments
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!