提交 329697a1 authored 作者: James Bergstra's avatar James Bergstra

fix for gpu subtensor code #2

上级 05e32875
...@@ -3301,8 +3301,6 @@ class Subtensor(Op): ...@@ -3301,8 +3301,6 @@ class Subtensor(Op):
@staticmethod @staticmethod
def helper_c_code_cache_version(): def helper_c_code_cache_version():
if not isinstance(node.inputs[0].type, TensorType):
return ()
return (2,) return (2,)
def c_code(self, node, name, inputs, outputs, sub): #DEBUG def c_code(self, node, name, inputs, outputs, sub): #DEBUG
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论