提交 f032bd72 authored 作者: Frederic Bastien's avatar Frederic Bastien

Fix comments.

上级 a8ce3207
...@@ -82,7 +82,7 @@ class test_Broadcast(unittest.TestCase): ...@@ -82,7 +82,7 @@ class test_Broadcast(unittest.TestCase):
self.assertTrue((f(xv, yv) == zv).all()) self.assertTrue((f(xv, yv) == zv).all())
#test CAReduce.infer_shape #test Elemwise.infer_shape
#the Shape op don't implement c_code! #the Shape op don't implement c_code!
if isinstance(linker,gof.PerformLinker): if isinstance(linker,gof.PerformLinker):
x = TensorType('float64', [(entry == 1) for entry in xsh])('x') x = TensorType('float64', [(entry == 1) for entry in xsh])('x')
...@@ -111,7 +111,7 @@ class test_Broadcast(unittest.TestCase): ...@@ -111,7 +111,7 @@ class test_Broadcast(unittest.TestCase):
f(xv, yv) f(xv, yv)
self.assertTrue((xv == zv).all()) self.assertTrue((xv == zv).all())
#test CAReduce.infer_shape #test Elemwise.infer_shape
#the Shape op don't implement c_code! #the Shape op don't implement c_code!
if isinstance(linker,gof.PerformLinker): if isinstance(linker,gof.PerformLinker):
x = TensorType('float64', [(entry == 1) for entry in xsh])('x') x = TensorType('float64', [(entry == 1) for entry in xsh])('x')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论