fix clang check

This commit is contained in:
Luo Cheng
2022-05-19 20:12:50 +08:00
parent b08bf8a9de
commit a1f21f3797

View File

@@ -67,7 +67,7 @@ void MemoryOutput::getSupportedDescriptors() {}
void MemoryOutput::initSupportedPrimitiveDescriptors() {
if (!supportedPrimitiveDescriptors.empty())
return;
// WA: should use MemoryInput store type to avoid buffer mismatch
auto inputMemoryNode = dynamic_cast<MemoryInput*>(inputNode);
IE_ASSERT(inputMemoryNode != nullptr);