Chinaunix首页 | 论坛 | 博客
  • 博客访问: 367573
  • 博文数量: 162
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1501
  • 用 户 组: 普通用户
  • 注册时间: 2016-10-21 19:45
文章分类
文章存档

2018年(1)

2017年(101)

2016年(60)

发布时间:2017-04-25 20:44:40

Here’s a simple django view which creates a PIL image on the fly, and returns it as a PNG image:from django.utils.httpwrappers import HttpResponse from PIL import Image import randomINK = "red", "blue", "green", "yellow" def image(request): # ... create/load image here ... image = Image.ne.........【阅读全文】

阅读(1260) | 评论(0) | 转发(0)

发布时间:2017-04-22 21:40:44

错误: 编码GBK的不可映射字符解决方案:javac Main.java -encoding UTF-8错误: 非法字符: '\ufeff'将UTF-8格式文件另存为其他格式,再另存为UTF-8格式......【阅读全文】

阅读(870) | 评论(0) | 转发(0)

发布时间:2017-04-21 16:36:54

1. 香农熵(Shannon entropy)信息熵(又叫香农熵)反映了一个系统的无序化(有序化)程度,一个系统越有序,信息熵就越低,反之就越高。如果一个随机变量 X 的可能取值为 X={x1,x2,…,xn},对应的概率为 p(X=xi),则随机变量 X 的信息熵为:H(X)=?∑i=1np(xi)logp(xi).........【阅读全文】

阅读(6469) | 评论(0) | 转发(0)

发布时间:2017-04-21 16:33:41

另外一个输入是labels,它的shape也是[batch_size, num_classes],就是我们神经网络期望的输出。it performs a softmax on logits internally for efficiency。......【阅读全文】

阅读(842) | 评论(0) | 转发(0)

发布时间:2017-04-21 15:38:05

 is simply a variable that we will assign data to at a later date. It allows us to create our operations and build our computation graph, without needing the data. In TensorFlowfeed......【阅读全文】

阅读(751) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册