[UnitTest] Reset shared-pointer explicitly in MklDnnFunctionalTest (#5543)

This commit is contained in:
David Nam 2021-05-08 05:40:43 +09:00 committed by GitHub
parent af0aa5f430
commit 1b8a0f7ae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ protected:
} }
void TearDown() override { void TearDown() override {
PluginCache::get().reset();
} }
std::string ConvNet(const int batch, TBlob<uint8_t>::Ptr &weights) { std::string ConvNet(const int batch, TBlob<uint8_t>::Ptr &weights) {

View File

@ -139,6 +139,7 @@ protected:
} }
void TearDown() override { void TearDown() override {
PluginCache::get().reset();
} }
template <Precision::ePrecision PRC> template <Precision::ePrecision PRC>