[Reland] Add sym_size/stride/numel/storage_offset to native_function.yaml (#103107)

Differential Revision: D46459100

Pull Request resolved: https://github.com/pytorch/pytorch/pull/103107
Approved by: https://github.com/angelayi, https://github.com/soulitzer
This commit is contained in:
SherlockNoMad
2023-06-12 19:18:45 +00:00
committed by PyTorch MergeBot
parent 0cb5bc3b04
commit d997969b8b
9 changed files with 64 additions and 25 deletions

View File

@ -89,6 +89,10 @@ _SKIP_PYTHON_BINDINGS = [
"is_sparse_csr",
"size",
"stride",
"sym_size",
"sym_stride",
"sym_storage_offset",
"sym_numel",
".*_backward",
".*_backward_(out|input|weight|bias)",
".*_forward",