mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-31 04:04:57 +08:00
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:
committed by
PyTorch MergeBot
parent
b97fa6ac30
commit
312ce35c1f
@ -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
|
||||
|
||||
Reference in New Issue
Block a user