提交 26ec4d86 authored 作者: Frederic Bastien's avatar Frederic Bastien

put a c_code_cache_version fct to GpuDownsampleFactorMax to have the compilation cache working.

上级 2f0169f5
......@@ -421,7 +421,7 @@ class GpuDownsampleFactorMax(Op):
#def perform(self, node, input_storage, output_storage):
#raise NotImplementedError('only C is implemented')
def c_code_cache_version(self):
return ()
return (1)
def c_code(self, node, nodename, (x,), (z,), sub):
fail = sub['fail']
ds0, ds1 = self.ds
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论