想一下,我们加载图片需要什么?一般是一个url,但url并不是所有情况,还有资源ID,文件等等,甚至可以是Feed流中的一条Feed,虽然一般我们会从Feed中取出图片的url来转换为从url中加载的情况,Glide把这些抽像为了一个概念,就是Model,所以Model就是数据地址的最初来源。假设我... ...
分类:
其他好文 时间:
2016-09-05 20:40:40
阅读次数:
139
题目链接:http://poj.org/problem?id=2761 题意:如题 主席树只能用模版,好菜。 /*━━━━━┒ギリギリ♂ eye!┓┏┓┏┓┃キリキリ♂ mind!┛┗┛┗┛┃\○/┓┏┓┏┓┃ /┛┗┛┗┛┃ノ)┓┏┓┏┓┃┛┗┛┗┛┃┓┏┓┏┓┃┛┗┛┗┛┃┓┏┓┏┓┃┛┗┛┗┛ ...
分类:
其他好文 时间:
2016-09-03 18:06:08
阅读次数:
194
使用 TensorFlow, 你必须明白 TensorFlow: 使用图 (graph) 来表示计算任务. 在被称之为 会话 (Session) 的上下文 (context) 中执行图. 使用 tensor 表示数据. 通过 变量 (Variable) 维护状态. 使用 feed 和 fetch 可 ...
分类:
其他好文 时间:
2016-09-02 07:39:35
阅读次数:
166
HTMLParser: feed:向解析器喂数据 handle_starttag(tag,attrs):处理开始标签 handle_data(data):处理标签里的数据体,data数据文本 handle_endtag(tag,attrs):处理结束标签 ...
分类:
编程语言 时间:
2016-09-02 00:21:29
阅读次数:
260
1.用图(graph)来表示计算任务 2.用op(opreation)来表示图中的计算节点,图有默认的计算节点,构建图的过程就是在其基础上加节点。 3.用tensor表示每个op的输入输出数据,可以使用feed,fetch可以为任意操作设置输入和获取输出。 4.通过Variable来维护状态。 5. ...
分类:
其他好文 时间:
2016-08-20 10:13:15
阅读次数:
132
DescriptionLike everyone else, cows like to stand close to their friends when queuing for feed. FJ has N (2 <= N <= 1,000) cows numbered 1..N standing along a straight line waiting for feed. The cows a...
分类:
其他好文 时间:
2016-08-16 17:36:16
阅读次数:
134
Time Limit: 1000MS Description Like everyone else, cows like to stand close to their friends when queuing for feed. FJ has N (2 <= N <= 1,000) cows nu ...
分类:
其他好文 时间:
2016-08-04 19:11:10
阅读次数:
173
Description Wind loves pretty dogs very much, and she has n pet dogs. So Jiajia has to feed the dogs every day for Wind. Jiajia loves Wind, but not th ...
分类:
其他好文 时间:
2016-08-03 20:05:16
阅读次数:
296
<feed xmlns="http://www.w3.org/2005/Atom"> <title type="text">博客园_YY哥的技术随笔</title> <subtitle type="text">——关注Linux、数据库和云计算</subtitle> <id>uuid:81dd362 ...
分类:
其他好文 时间:
2016-07-30 18:25:37
阅读次数:
213
环境: 表t_feed_idx(user_id bigint, feed_id bigint, KEY (`user_id`,`feed_id`)) engine=innodb;表t_feed_info(feed_id bigint, PRIMARY KEY (`feed_id`), '其他列') ...
分类:
数据库 时间:
2016-07-19 20:36:49
阅读次数:
377