forked from jiuyuan/InfiniTensor
fix
This commit is contained in:
parent
e3a2e65c47
commit
689f8c6a5d
|
@ -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));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue