Is "fusing batch normalization and convolution in runtime" supported in deep learning?

6 次查看(过去 30 天)
Currently pytorch deep learning framework is supported, is matlab supported in the future?

回答(1 个)

Asim
Asim 2024-10-22,8:52
Hello,
Currently, MATLAB’s Deep Learning Toolbox does not support fusing batch normalization and convolution layers at runtime directly. This technique is typically used as an inference-time optimization to improve runtime performance by merging the batch normalization parameters into the convolutional layer’s weights and biases1.
However, MATLAB does support batch normalization layers, which can be used between convolutional layers and activation functions to speed up training and improve network performance.
Please refer this link regarding batch normalization layer for more information.
I hope this helps!

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by