mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[JIT] clang-format JIT code (#35115)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/35115 This commit runs the newly added tools/clang_format.py on the JIT codebase and includes all of the formatting changes thus produced. Testing: Ran the script, CI. Test Plan: Imported from OSS Reviewed By: eellison Differential Revision: D20568523 Pulled By: SplitInfinity fbshipit-source-id: e09bdb982ccf090eecfb7c7b461b8d0681eef82b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1422d2cd8b
commit
6384c2d81b
@ -82,8 +82,7 @@ c10::IValue SourceRangeSerializer::serialize_source(
|
||||
return serialized;
|
||||
}
|
||||
|
||||
SourceRangePickler::SourceRangePickler()
|
||||
: srs(new SourceRangeSerializer()) {}
|
||||
SourceRangePickler::SourceRangePickler() : srs(new SourceRangeSerializer()) {}
|
||||
|
||||
std::vector<char> SourceRangePickler::pickle(const SourceRangeRecords& ranges) {
|
||||
std::vector<c10::IValue> ivalues;
|
||||
@ -99,7 +98,6 @@ std::vector<char> SourceRangePickler::pickle(const SourceRangeRecords& ranges) {
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
ConcreteSourceRangeUnpickler::ConcreteSourceRangeUnpickler(
|
||||
at::DataPtr&& data,
|
||||
size_t size)
|
||||
|
||||
Reference in New Issue
Block a user