提交 7c26bdd0 authored 作者: James Bergstra's avatar James Bergstra 提交者: Frederic

version numbers for gemv and ger c code

上级 0fe0dbcb
......@@ -287,7 +287,7 @@ class GpuGemv(Op):
return Apply(self, [z, a, x, y, b], [z.type()])
def c_code_cache_version(self):
return ()
return (1,)
def c_code(self, node, name, inputs, outputs, sub):
#z_out = alpha * dot(x,y) + beta * z_in
......@@ -378,7 +378,7 @@ class GpuGer(Op):
return Apply(self, [z, a, x, y], [z.type()])
def c_code_cache_version(self):
return ()
return (1,)
def c_code(self, node, name, inputs, outputs, sub):
#z_out = alpha * dot(x,y) + beta * z_in
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论