Skip to content

Commit 762b42b

Browse files
committed
Update on "Add a centralized TORCH_LIBRARY declaration for quantized and xnnpack ops."
Fixes #36510 Note that this introduces some schema string duplication, but I'll kill the dupes when I migrate the individual files to the new registration API. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Differential Revision: [D21005369](https://our.internmc.facebook.com/intern/diff/D21005369) [ghstack-poisoned]
2 parents d9e2cc1 + 866f0a2 commit 762b42b

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)