github地址:
RNN的原理?
。。。。嗯。。。不想多说,很多介绍其原理的文章,所以这里就不啰嗦了。
为什么推荐CupDnn中实现的rnn?
足够简单,可能是最简单的实现吧,很容易学习。
有例子吗?
有的。给的例子是计算两个数相加。比如1+1=2 , 0.5+0.5=1。。。。
额????这需要用深度学习?不需要,但是用rnn来实现别有一番刺激。
大家可以看看使用rnn测试输出信息:
begin load model
load model finished
please input two numbers(-1~1),input q to quit
please input first one:
0.3
please input second one:
0.3
0.3 + 0.3 = 0.6348119
please input two numbers(-1~1),input q to quit
please input first one:
0.34
please input second one:
0.12
0.34 + 0.12 = 0.49013773
please input two numbers(-1~1),input q to quit
please input first one:
0.56
please input second one:
0.91
0.56 + 0.91 = 1.44746
可以看到很明显的是对的,虽然有一点