Skip to content

Commit

Permalink
fix clang
Browse files Browse the repository at this point in the history
  • Loading branch information
elvin-n committed Jul 19, 2022
1 parent be3076d commit a803b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relay/transforms/annotate_texture_storage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ class StorageInfo : private transform::DeviceAwareExprVisitor {
}
} else if (auto attrs = call->attrs.as<Conv2DWinogradAttrs>()) {
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<GlobalPool2DAttrs>()) {
Expand Down

0 comments on commit a803b72

Please sign in to comment.