提交 fd03a0c8 authored 作者: Nicolas Bouchard's avatar Nicolas Bouchard

Typo

上级 65e7e3e8
...@@ -43,7 +43,7 @@ class DiffOp(theano.Op): ...@@ -43,7 +43,7 @@ class DiffOp(theano.Op):
inputs = inputs[0] inputs = inputs[0]
if inputs.ndim != 1: if inputs.ndim != 1:
raise TypeError("Grad is not implemented for inputs with" raise NotImplementedError("Grad is not implemented for inputs with"
"number of dimension other than 1.") "number of dimension other than 1.")
z = outputs_gradients[0] z = outputs_gradients[0]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论