if regul_what is 'kernel': for layer in model.layers: if isinstance(layer, ... Dense): layer.add_loss(lambda: regularizers.l1_l2(l1 ...
確定! 回上一頁