Is it possible to train a layer's weights but not its biases (or vice versa) in Keras?

后端 未结 0 1521
滥情空心
滥情空心 2020-12-18 05:04

I know from this question that it is possible to set an entirely layer as non-trainable by something like this:

frozen_layer = Dense(32, trainable=False)


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题