[UnitTest] Reset shared-pointer explicitly in MklDnnFunctionalTest (#5543)
This commit is contained in:
parent
af0aa5f430
commit
1b8a0f7ae5
@ -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) {
|
||||||
|
@ -139,6 +139,7 @@ protected:
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TearDown() override {
|
void TearDown() override {
|
||||||
|
PluginCache::get().reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
template <Precision::ePrecision PRC>
|
template <Precision::ePrecision PRC>
|
||||||
|
Loading…
Reference in New Issue
Block a user