仍然是基础RNN的熟悉性学习,不过莫凡的例子蛮不错,之后可以考虑一下文本数据了。另,1发现了提升RNN收敛速度的方法,2发现了python所有张量而不仅是占位符都是可以feed的,如果有feed,其优先级大于图中的计算流程 ...
分类:
其他好文 时间:
2017-08-25 00:03:20
阅读次数:
489
import os,math os.environ['TF_CPP_MIN_LOG_LEVEL']='2' import tensorflow as tf import numpy as np import matplotlib.pyplot as plt x_data = np.array([[0... ...
分类:
其他好文 时间:
2017-08-22 20:51:57
阅读次数:
124
1、修改feed的配置文件 feeds.conf.default 添加下面两句: src-svn njit https://github.com/liuqun/openwrt-clients/trunk/njit src-svn scut https://github.com/liuqun/open ...
分类:
其他好文 时间:
2017-08-21 10:30:21
阅读次数:
191
1. Placeholders placeholders,顾名思义,就是占位的意思,举个例子:我们定义了一个关于x,y的函数 f(x,y)=2x+y,但是我们并不知道x,y的值,那么x,y就是等待确定的值输入的placeholders。 我们如下定义一个placeholders: 一个简单的实例如下 ...
分类:
其他好文 时间:
2017-08-19 15:48:36
阅读次数:
148
import tensorflow as tfimport numpy as npimport matplotlib.pyplot as plt def add_layer(inputs,in_size,out_size,activation_function=None): Weights = tf ...
分类:
其他好文 时间:
2017-08-19 15:04:32
阅读次数:
237
S - Layout POJ - 3169 Like everyone else, cows like to stand close to their friends when queuing for feed. FJ has N (2 <= N <= 1,000) cows numbered 1. ...
分类:
其他好文 时间:
2017-08-16 20:20:01
阅读次数:
253
1.什么是枚举? 枚举其实就是一个整型常数的集合,最简单的例子就是表示星期的SUN, MON, TUE, WED, THU, FRI,SAT, 就是一个枚举。 2.iOS中枚举的使用 在ObjC中可以使用C语言的方式进行枚举,其实ObjC的枚举就是在C语言上演化而来,先了解C语言定义一个枚举的方式有 ...
分类:
移动开发 时间:
2017-08-16 19:12:46
阅读次数:
256
Young naturalist Bill studies ants in school. His ants feed on plant-louses that live on apple trees. Each ant colony needs its own apple tree to feed ...
分类:
其他好文 时间:
2017-08-15 10:15:11
阅读次数:
144
Windows下Git使用报错: 注解: LF:Line Feed 换行 CRLF:Carriage Return Line Feed 回车换行键 1、不同操作系统下,处理行尾结束符的方法是不同的: windows下:CRLF(表示句尾使用回车换行两个字符,即windows下的"\r\n"换行) u ...