Commit 6b7fb415 by liyinqiao

Merge with ZHANG Yuhao branch (Don't use this! It's an incomplete version)

Minor error fixed.
parent ba4c8180
......@@ -41,7 +41,6 @@ void XFuncGrad::MakeGrad(XTensor * node, bool isEfficient)
CheckNTErrors(!node->isGrad || node->grad != NULL, "No gradient found!");
}
//CheckNTErrors(node->grad != NULL, "No gradient found!");
CheckNTErrors(income.tailNum == 1, "Too many input tensors for the function!");
XTensor * input = income.tails[0];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论