lable)loss=binary_cross_entropyloss(predict,lable,weight=weight2)print(l2,loss)输出:...
params是值的Dict,并且u将该Dict传递给.compile的第一个参数,根据文档,.compile具有这些参数。