!8239 fix static checking problems of lite ops

Merge pull request !8239 from liuwenhao/master
This commit is contained in:
mindspore-ci-bot 2020-11-05 10:31:21 +08:00 committed by Gitee
commit 999c8c6d8e
1 changed files with 4 additions and 4 deletions

View File

@ -51,14 +51,14 @@ class L2NormCPUKernel : public LiteKernel {
int Run() override;
protected:
L2NormParameter *l2_norm_param_;
L2NormParameter *l2_norm_param_ = nullptr;
private:
int MallocTmpBuffer();
void FreeTmpBuffer();
float sqrt_sum_;
float *input_ptr_;
float *output_ptr_;
float sqrt_sum_ = 0;
float *input_ptr_ = nullptr;
float *output_ptr_ = nullptr;
float *tmp_sum_ = nullptr;
};
} // namespace mindspore::kernel