提交 307e4312 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

merge

...@@ -272,9 +272,6 @@ class T_Scan(unittest.TestCase): ...@@ -272,9 +272,6 @@ class T_Scan(unittest.TestCase):
assert (compareArrays( out, f8(v_u, v_x0) ) ) assert (compareArrays( out, f8(v_u, v_x0) ) )
''' '''
NOTE : BROKEN .. inplace doesn't work due to a stochasticOpimization
TODO : talk james
# simple rnn ; compute inplace # simple rnn ; compute inplace
def test_9(self): def test_9(self):
...@@ -299,7 +296,8 @@ class T_Scan(unittest.TestCase): ...@@ -299,7 +296,8 @@ class T_Scan(unittest.TestCase):
assert (compareArrays(out, v_out)) assert (compareArrays(out, v_out))
print v_u print v_u
assert (compareArrays(v_u, out)) assert (compareArrays(v_u, out))
'''
'''
# test gradient simple network # test gradient simple network
def test_10(self): def test_10(self):
pass pass
......
...@@ -12,6 +12,7 @@ import blas ...@@ -12,6 +12,7 @@ import blas
import xlogx import xlogx
import raw_random, randomstreams import raw_random, randomstreams
import shared_randomstreams
from randomstreams import \ from randomstreams import \
RandomStreams RandomStreams
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论