提交 14e71b55 编写于 作者: M Megvii Engine Team 提交者: Xinran Xu

feat(imperative): add helper for dnn opr caller

GitOrigin-RevId: 828cd69803c9d6e337055b87922b3917aa3bb54c
上级 2272abe1
...@@ -422,6 +422,7 @@ Maybe<std::string> debug::compare_tensor_value(const HostTensorND& v0, ...@@ -422,6 +422,7 @@ Maybe<std::string> debug::compare_tensor_value(const HostTensorND& v0,
return do_compare_tensor_value<DTypeTrait<_dt>::ctype>( \ return do_compare_tensor_value<DTypeTrait<_dt>::ctype>( \
expr0, expr1, v0, v1, maxerr); expr0, expr1, v0, v1, maxerr);
MEGDNN_FOREACH_COMPUTING_DTYPE(cb) MEGDNN_FOREACH_COMPUTING_DTYPE(cb)
cb(::megdnn::dtype::Bool)
#undef cb #undef cb
default: default:
mgb_throw(MegBrainError, "unhandled dtype: %s", dtype.name()); mgb_throw(MegBrainError, "unhandled dtype: %s", dtype.name());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册