跳转到内容

weightarraynormalize

如果输入数组的和为0.0,权重仍会被归一化,所有值将被设置为相同值,即1.0除以数值的数量。

void  weightarraynormalize(float &weights[])