#506·DeepCTR

dropout 和 batchnorm 层已经传入了 training,outputs._uses_learning_phase = training 不为 None,这是什么作用?

作者: Daemoonn创建于 2022年12月13日更新于 2022年12月13日
标签question

Describe the question (problem description) Since the bn_layers and dropout_layers in DNN have already passed the training state parameters to distinguish whether it is in the training or prediction stage, what is the purpose of manually setting _uses_learning_phase?

内容来源: shenweichen/DeepCTR