tensorflow函数--weighted_cross_entropy_with_logits

地址:https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/nn_impl.py 176

函数定义:

defweighted_cross_entropy_with_logits(targets,logits,pos_weight,name=None):

函数调用

tf.nn.weighted_cross_entropy_with_logits()

参数1:targets

类型 `float32` or `float64`.

参数2:logits

类型 `float32` or `float64`.

参数3:pos_weight

正样本系数


你可能感兴趣的:(深度学习)