1. 首页
  2. 数据库
  3. 其它
  4. sigmoid_cross_entropy_with_logitssoftmax_cross_entropy_with_logitssparse_softmax

sigmoid_cross_entropy_with_logitssoftmax_cross_entropy_with_logitssparse_softmax

上传者: 2021-01-31 23:49:54上传 PDF文件 100.49KB 热度 18次
tf.nn.sigmoid_cross_entropy_with_logits 函数的计算方式就是对输出值先算sigmoid,然后与真实值做交叉商运算。 sigmoid函数的定义:11+e−x\displaystyle\frac{1}{1+e^{-x}}1+e−x1​ 交叉商的计算方式:−(labels∗log(−logits)+(1−labels)∗log(1−logits))-(labels*log(-logits)+(1-labels)*log(1-logits))−(labels∗log(−logits)+(1−labels)∗log(1−logits)) labelslabelsla
下载地址
用户评论