Commit ec9a3328 by xiaotong

some notes

parent 8d1ae93b
......@@ -830,6 +830,7 @@ void XMathGrad::GradSign(XTensor * node)
CheckNTErrors(income.tailNum == 1, "Wrong input tensor number for SIGN!");
// we do nothing here
// TODO: set grad = 0 if the node is the only child
node->visitMark = NODE_FINISHED;
}
......@@ -848,6 +849,7 @@ void XMathGrad::GradRound(XTensor * node)
CheckNTErrors(income.tailNum == 1, "Wrong input tensor number for ROUND!");
// we do nothing here
// TODO: set grad = 0 if the node is the only child
node->visitMark = NODE_FINISHED;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论