This commit is contained in:
wanghailu 2024-01-02 05:52:04 +00:00
parent e3a2e65c47
commit 689f8c6a5d
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ class DropoutCnnl : public BangKernelWithoutConfig {
return; return;
checkCnnlError(cnnlDestroyTensorDescriptor(oDesc)); checkCnnlError(cnnlDestroyTensorDescriptor(oDesc));
checkCnnlError(cnnlDestroyTensorDescriptor(mDesc));
checkCnnlError(cnnlRandDestroyGenerator(generator)); checkCnnlError(cnnlRandDestroyGenerator(generator));
} }
}; };