How to exclude Embedding layer from Model.parameters()?

Hi,

Please see this post Freeze the learnable parameters of resnet and attach it to a new network that solves exactly your problem.