!48419 修复reducesum算子对成员变量未做初始化的问题

Merge pull request !48419 from zhangdong/zd_1
This commit is contained in:
i-robot 2023-02-06 10:56:26 +00:00 committed by Gitee
commit 4c47fdd597
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ class ArrayReduceGpuKernelMod : public NativeGpuKernelMod {
input_size_ = 0;
output_size_ = 0;
workspace_size_ = 0;
int_op_type = 0;
kernel_name_ = "ArrayReduce";
axis_.clear();
}