From 14e71b551ba66fe4ae0b54f09d0fdc644f7cffb7 Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Mon, 17 Aug 2020 16:04:27 +0800 Subject: [PATCH] feat(imperative): add helper for dnn opr caller GitOrigin-RevId: 828cd69803c9d6e337055b87922b3917aa3bb54c --- src/core/impl/utils/debug.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/impl/utils/debug.cpp b/src/core/impl/utils/debug.cpp index 940c4968..23b0017d 100644 --- a/src/core/impl/utils/debug.cpp +++ b/src/core/impl/utils/debug.cpp @@ -422,6 +422,7 @@ Maybe debug::compare_tensor_value(const HostTensorND& v0, return do_compare_tensor_value::ctype>( \ expr0, expr1, v0, v1, maxerr); MEGDNN_FOREACH_COMPUTING_DTYPE(cb) + cb(::megdnn::dtype::Bool) #undef cb default: mgb_throw(MegBrainError, "unhandled dtype: %s", dtype.name());