[exo] Add missing argument of static_assert (#8760)
author남궁석/On-Device Lab(SR)/Engineer/삼성전자 <sk.namkoong@samsung.com>
Wed, 6 Nov 2019 00:34:24 +0000 (09:34 +0900)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Wed, 6 Nov 2019 00:34:24 +0000 (09:34 +0900)
This commit will add missing argument of `static_assert` in `exo/src/GraphBlock.h`

Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com>
compiler/exo/src/GraphBlock.h

index 2bce015..b50930b 100644 (file)
@@ -140,7 +140,7 @@ template <FeatureLayout FeatureLayoutT>
 TFLT *DomainConverter<CanonicalT, TFLT>::convert(CanonicalT *origin,
                                                  InputHandler<CanonicalT, TFLT> &input_handler)
 {
-  static_assert(FeatureLayoutT == FeatureLayout::NHWC);
+  static_assert(FeatureLayoutT == FeatureLayout::NHWC, "Feature layout should be NHWC");
 
   if (!loco::shape_known(origin))
   {