Skip to content

Commit 0194133

Browse files
committed
Update on "Convert qbatch_norm to new operator registration API."
Say good bye to boilerplate. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Differential Revision: [D21017672](https://our.internmc.facebook.com/intern/diff/D21017672) [ghstack-poisoned]
2 parents 42641f3 + 3563be4 commit 0194133

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

aten/src/ATen/core/op_registration/op_registration.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ namespace {
2020
switch (kind) {
2121
case Library::DEF:
2222
os << "TORCH_LIBRARY";
23+
break;
2324
case Library::IMPL:
2425
os << "TORCH_LIBRARY_IMPL";
26+
break;
2527
case Library::FRAGMENT:
2628
os << "TORCH_LIBRARY_FRAGMENT";
29+
break;
2730
}
2831
return os;
2932
}

0 commit comments

Comments
 (0)