Home
last modified time | relevance | path

Searched refs:l2_coef (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/tests/st/model_zoo_tests/DeepFM/src/
Ddeepfm.py272 def __init__(self, network, l2_coef=1e-6): argument
276 self.l2_coef = l2_coef
287 l2_loss_all = self.l2_coef * (l2_loss_v + l2_loss_w) * 0.5
393 loss_net = NetWithLossClass(deepfm_net, l2_coef=self.train_config.l2_coef)
Dconfig.py52 l2_coef = 8e-5 variable in TrainConfig
/third_party/mindspore/tests/st/model_zoo_tests/wide_and_deep/python_file_for_ci/
Dconfig.py64 self.l2_coef = 8e-5
94 self.l2_coef = 8e-5
Dwide_and_deep.py226 self.l2_coef = config.l2_coef
237 deep_loss = self.reduceMean_false(log_loss) + self.l2_coef * l2_loss_v