How to customize the "model function" in the deep learning toolbox to add learnable parameters?

It seems that at present, you can only add learnable parameters in the form of "Define Custom Deep Learning Layer with Learnable Parameters", but this method is very inflexible. If you change to "model function" to define the network, you don't know how to add learnable parameters. Parameters?

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2020b

Asked:

on 22 Nov 2020

Answered:

on 23 Feb 2021

Community Treasure Hunt

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

Start Hunting!