pytorch/torch/csrc/jit/python
Richard Barnes 3f5b59eef4 [codemod] c10::optional -> std::optional in caffe2/aten/src/ATen/DeviceGuard.h +117 (#126901)
Summary:
Generated with
```
fbgs -f '.*\.(cpp|cxx|cc|h|hpp|cu|cuh)$' c10::optional -l | perl -pe 's/^fbsource.fbcode.//' | grep -v executorch | xargs -n 50 perl -pi -e 's/c10::optional/std::optional/g'
```

 - If you approve of this diff, please use the "Accept & Ship" button :-)

(117 files modified.)

Test Plan: Sandcastle

Reviewed By: palmje

Pull Request resolved: https://github.com/pytorch/pytorch/pull/126901
Approved by: https://github.com/Skylion007, https://github.com/eqy
2024-05-24 00:26:15 +00:00
..
init.cpp [Reland] Verify types in custom op schemas (#126861) 2024-05-23 19:53:52 +00:00
init.h
module_python.h [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
pybind_utils.cpp [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
pybind_utils.h [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
pybind.h
python_arg_flatten.cpp
python_arg_flatten.h
python_custom_class.cpp
python_custom_class.h
python_dict.cpp
python_dict.h
python_interpreter.cpp
python_ir.cpp [codemod] c10::optional -> std::optional in caffe2/aten/src/ATen/DeviceGuard.h +117 (#126901) 2024-05-24 00:26:15 +00:00
python_ir.h [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
python_ivalue.h [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
python_list.cpp
python_list.h [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
python_sugared_value.cpp [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
python_sugared_value.h [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
python_tracer.cpp [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
python_tracer.h
python_tree_views.cpp [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
python_tree_views.h
script_init.cpp Use object identity for deepcopy memo (#126126) 2024-05-17 00:06:26 +00:00
script_init.h
update_graph_executor_opt.cpp
update_graph_executor_opt.h
utf8_decoding_ignore.cpp
utf8_decoding_ignore.h