提交 a5eb5b3c authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Slightly more detailed exception message.

上级 3a8f24ce
......@@ -3167,8 +3167,8 @@ class AdvancedIncSubtensor(Op):
broadcastable = x.type.broadcastable)])
raise NotImplementedError('Advanced indexing increment of x (of dimension %i) by y (of dimension %i) with these argument dimensions (%s) not supported yet'\
% (x.ndim, y.ndim, ','.join(str(input.ndim) for input in inputs)))
raise NotImplementedError('Advanced indexing increment of x by y with arguments (%s) not supported yet'\
% ','.join(str(input) for input in inputs))
raise NotImplementedError('Advanced indexing increment of x (of dim %i) by y (of dim %i) with arguments (%s) not supported yet'\
% (x.ndim, y.ndim, ','.join(str(input) for input in inputs)))
def perform(self, node, inputs, (out,)):
# TODO: same thing as in AdvancedSubtensor's perform TODO
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论