tensorflow函数--sparse_softmax_cross_entropy_with_logits
来源:互联网 发布:淘宝古着是什么意思 编辑:程序博客网 时间:2024/06/05 19:20
地址:https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/nn_ops.py 1688
函数定义:
def sparse_softmax_cross_entropy_with_logits(_sentinel=None, labels=None,logits=None, name=None):调用方法:
tf.nn.sparse_softmax_cross_entropy_with_logits(logits=py_x,labels=Y)
根据稀疏表示的label和输出层数据计算损失
参数1: labels,其值是稀疏表示的
labels向量大小[batch_size]
类型 `int32` or `int64`
取值范围 [0, num_classes)
参数2:logits,其表示隐藏层线性变换后非归一化后的结果
[batch_size, num_classes]
dtype `float32` or `float64`
1 2
- tensorflow函数--sparse_softmax_cross_entropy_with_logits
- [tensorflow损失函数系列]sparse_softmax_cross_entropy_with_logits
- tensorflow 中 sparse_softmax_cross_entropy_with_logits 与 softmax_cross_entropy_with_logits区别
- tf.nn.sparse_softmax_cross_entropy_with_logits()函数的用法
- tensorflow:Only call `sparse_softmax_cross_entropy_with_logits` with named arguments (labe
- 对比两个函数tf.nn.softmax_cross_entropy_with_logits和tf.nn.sparse_softmax_cross_entropy_with_logits
- 《TensorFlow实战实例》的一些错误更正ValueError: Only call `sparse_softmax_cross_entropy_with_logits` with named a
- tf.nn.sparse_softmax_cross_entropy_with_logits()
- tf.nn.sparse_softmax_cross_entropy_with_logits
- tf.nn.sparse_softmax_cross_entropy_with_logits的用法
- tensorflow常用函数记录
- Tensorflow argmax函数详解
- Tensorflow | 基本函数介绍
- Tensorflow常用函数
- tensorflow 常用函数整理
- 【Tensorflow】tf.placeholder函数
- tensorflow函数--sigmoid_cross_entropy_with_logits
- tensorflow函数--softmax_cross_entropy_with_logits
- 在docker上编译openjdk8
- pure virtual function can has a function body
- 二叉树的四种遍历(java代码)
- java游戏之迷宫
- 串口编程—(3)串口编程
- tensorflow函数--sparse_softmax_cross_entropy_with_logits
- iOS-MJRefresh框架底层实现原理
- CSDN-markdown编辑器[留存]
- Evermoney -- 重新定义印象笔记编辑体验
- springmvc框架搭建
- Unity背包系统(二)背包UI设计
- 关于使用EL语句来接收servlet给jsp传递及jsp页面之间传递的数据
- ReactNative 定位问题
- 面向对象的特征有哪些