提交 7ac49d96 authored 作者: Frederic's avatar Frederic

Better error message

上级 f2eb4694
......@@ -3,6 +3,7 @@ import copy
from theano.compat import izip
import numpy
import theano
from theano import Apply, scalar, config
from theano import scalar as scal
from six.moves import StringIO, xrange
......@@ -654,7 +655,7 @@ class GpuCAReduceCuda(GpuKernelBase, HideC, CAReduceDtype):
return node.inputs[0].type.context
def perform(self, node, inp, out, ctx):
raise MethodNotDefined("")
theano.Op.perform(self, node, inp, out, ctx)
def supports_c_code(self, inputs):
"""
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论