Rename singleton int to nested int (#119661)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/119661
Approved by: https://github.com/ezyang
This commit is contained in:
soulitzer
2024-02-16 11:16:12 -05:00
committed by PyTorch MergeBot
parent b97fa6ac30
commit 312ce35c1f
21 changed files with 99 additions and 99 deletions

View File

@ -1290,14 +1290,14 @@ void initJITBindings(PyObject* module) {
return node->is_symbolic();
})
.def(
"singleton_int",
"nested_int",
[](const c10::SymNode& node) {
return node->singleton_int();
return node->nested_int();
})
.def(
"singleton_coeff",
"nested_int_coeff",
[](const c10::SymNode& node) {
return node->singleton_coeff();
return node->nested_int_coeff();
});
// clang-format on