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

Make BatchedDot don't try to use c code if there is no blas.

上级 e563c53c
......@@ -2134,6 +2134,10 @@ class BatchedDot(Op):
_z, = out
fail = sub["fail"]
if not config.blas.ldflags:
return super(BatchedDot, self).c_code(node, name,
inp, out, sub)
# generate contiguity condition
def contiguous(var, ndim):
strides = "PyArray_STRIDES(%s)" % var
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论