提交 cb2ef7d9 编写于 作者: Y Yu Yang

Add comment

上级 d350cdbc
...@@ -200,6 +200,7 @@ static InferShapeFuncMap &InferShapeFuncs() { ...@@ -200,6 +200,7 @@ static InferShapeFuncMap &InferShapeFuncs() {
// all registered kernels // all registered kernels
for (auto &pair : OperatorWithKernel::AllOpKernels()) { for (auto &pair : OperatorWithKernel::AllOpKernels()) {
auto &info = info_map.Get(pair.first); auto &info = info_map.Get(pair.first);
// use empty type here to avoid runtime checks.
auto op = auto op =
static_cast<OperatorWithKernel *>(info.Creator()("", {}, {}, {})); static_cast<OperatorWithKernel *>(info.Creator()("", {}, {}, {}));
g_map->insert( g_map->insert(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册