提交 b558a064 authored 作者: Frederic's avatar Frederic 提交者: Pascal Lamblin

Disable the CSMGradC op and opt that add it as it is broken with unsorted indices.

上级 bdc35e92
...@@ -876,7 +876,8 @@ def local_csm_grad_c(node): ...@@ -876,7 +876,8 @@ def local_csm_grad_c(node):
if node.op == csm_grad(None): if node.op == csm_grad(None):
return [csm_grad_c(*node.inputs)] return [csm_grad_c(*node.inputs)]
return False return False
register_specialize(local_csm_grad_c, 'cxx_only') #DISABLED AS IT IS BROKEN FOR UNSORTED INDICES!
#register_specialize(local_csm_grad_c, 'cxx_only')
class MulSDCSC(gof.Op): class MulSDCSC(gof.Op):
......
...@@ -37,6 +37,7 @@ def test_local_csm_properties_csm(): ...@@ -37,6 +37,7 @@ def test_local_csm_properties_csm():
def test_local_csm_grad_c(): def test_local_csm_grad_c():
raise SkipTest("Opt disabled as it don't support unsorted indices")
if not theano.config.cxx: if not theano.config.cxx:
raise SkipTest("G++ not available, so we need to skip this test.") raise SkipTest("G++ not available, so we need to skip this test.")
data = tensor.vector() data = tensor.vector()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论