!8239 fix static checking problems of lite ops
Merge pull request !8239 from liuwenhao/master
This commit is contained in:
commit
999c8c6d8e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue