More fixes and improved clang-tidy checkers (#93213)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/93213
Approved by: https://github.com/Skylion007
This commit is contained in:
cyy
2023-02-01 14:44:13 +00:00
committed by PyTorch MergeBot
parent 679e869af0
commit 37f7c00a8a
37 changed files with 91 additions and 100 deletions

View File

@ -166,7 +166,7 @@ struct Dim : public py::base<Dim> {
return batchtensor_;
}
private:
int64_t size_;
int64_t size_{-1};
at::Tensor range_;
at::Tensor batchtensor_;
};