会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
SmallRed
博客园
首页
新随笔
联系
管理
上一页
1
2
3
4
5
6
7
8
9
···
32
下一页
2019年7月17日
tf.nn.sigmoid_cross_entropy_with_logits 分类
摘要: sample output
阅读全文
posted @ 2019-07-17 10:48 JohnRed
阅读(3346)
评论(0)
推荐(0)
编辑
tf.nn.softmax 分类
摘要: sample output
阅读全文
posted @ 2019-07-17 10:38 JohnRed
阅读(5507)
评论(0)
推荐(0)
编辑
tf.nn.softmax_cross_entropy_with_logits 分类
摘要: 执行流程 $$H{y}'(y)= \sum_{i}{y_i}'log(y_i)$$ 其中\\({y_i}'\\)指代实际的标签中第i个的值(用mnist数据举例,如果是3,那么标签是[0,0,0,1,0,0,0,0,0,0],除了第4个值为1,其他全为0) 就是softmax的输出向量[Y1,Y2,
阅读全文
posted @ 2019-07-17 09:42 JohnRed
阅读(334)
评论(0)
推荐(0)
编辑
2019年7月16日
tf.nn.max_pool 池化
摘要: ``` tf.nn.max_pool( value, ksize, strides, padding, data_format='NHWC', name=None ) ``` ``` 参数: value:由data_format指定格式的4-D Tensor ([batch_size, height, width, channels]) ksize...
阅读全文
posted @ 2019-07-16 20:36 JohnRed
阅读(132)
评论(0)
推荐(0)
编辑
tf.nn.depthwise_conv2d 卷积
摘要: ``` tf.nn.depthwise_conv2d( input, filter, strides, padding, rate=None, name=None, data_format=None ) ``` ``` 参数: input:4-D,形状根据data_format得出 filter:4-D,形状为[filter_height,...
阅读全文
posted @ 2019-07-16 20:31 JohnRed
阅读(1801)
评论(0)
推荐(0)
编辑
tf.nn.relu6 激活函数
摘要: ``` tf.nn.relu6(features,name=None) ``` ``` 计算校正线性6:min(max(features, 0), 6) 参数: features:一个Tensor,类型为float,double,int32,int64,uint8,int16,或int8 name:操作的名称(可选) 返回: 一个Tensor,与features具有相同类型 ```
阅读全文
posted @ 2019-07-16 20:20 JohnRed
阅读(1964)
评论(0)
推荐(0)
编辑
tf.nn.bias_add 激活函数
摘要: sample output
阅读全文
posted @ 2019-07-16 20:01 JohnRed
阅读(2679)
评论(0)
推荐(1)
编辑
tf.nn.dropout 激活函数
摘要: sample output
阅读全文
posted @ 2019-07-16 19:47 JohnRed
阅读(1455)
评论(0)
推荐(0)
编辑
tf.nn.relu 激活函数
摘要: ``` tf.nn.relu(features, name = None) ``` ``` 计算校正线性:max(features, 0) 参数: features:一个Tensor.必须是下列类型之一:float32,float64,int32,uint8,int16,int8,int64,bfloat16,uint16,half,uint32,uint64 name:操作的名称(可选) ...
阅读全文
posted @ 2019-07-16 19:37 JohnRed
阅读(859)
评论(0)
推荐(0)
编辑
vim 替换
摘要: 将s1全部替换为s2 删除s1
阅读全文
posted @ 2019-07-16 17:43 JohnRed
阅读(391)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
8
9
···
32
下一页
公告