forked from mindspore-Ecosystem/mindspore
debug
This commit is contained in:
parent
7541f981c1
commit
56d5e3e27d
|
@ -127,6 +127,7 @@ class UniformCandidateSamplerGpuKernelMod : public DeprecatedNativeGpuKernelMod
|
|||
|
||||
void ReleaseResource() override {
|
||||
// Reset current seed.
|
||||
set_input_.clear();
|
||||
if (init_seed_ == 0 && cur_seed_ != 0) {
|
||||
cur_seed_ = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue