From a803b728fce2e8d1ad23197ba8c7be9e559236c1 Mon Sep 17 00:00:00 2001 From: Andrey Malyshev Date: Mon, 18 Jul 2022 13:12:17 +0300 Subject: [PATCH] fix clang --- src/relay/transforms/annotate_texture_storage.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/relay/transforms/annotate_texture_storage.cc b/src/relay/transforms/annotate_texture_storage.cc index a58a603d1639b..a7eca1ebe70c1 100644 --- a/src/relay/transforms/annotate_texture_storage.cc +++ b/src/relay/transforms/annotate_texture_storage.cc @@ -326,7 +326,7 @@ class StorageInfo : private transform::DeviceAwareExprVisitor { } } else if (auto attrs = call->attrs.as()) { if ((attrs->data_layout == "NCHW4c" || attrs->data_layout == "NHWC4c") && - (attrs->kernel_layout == "OIHW4o" || attrs->kernel_layout == "HWIO4o")) { + (attrs->kernel_layout == "OIHW4o" || attrs->kernel_layout == "HWIO4o")) { supports_texture_storage = true; } } else if (auto attrs = call->attrs.as()) {