pytorch/binaries
Richard Barnes ed327876f5 [codemod] c10:optional -> std::optional (#126135)
Generated by running the following from PyTorch root:
```
find . -regex ".*\.\(cpp\|h\|cu\|hpp\|cc\|cxx\)$" | grep -v "build/" | xargs -n 50 -P 4 perl -pi -e 's/c10::optional/std::optional/'
```

`c10::optional` is just an alias for `std::optional`. This removes usages of that alias in preparation for eliminating it entirely.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/126135
Approved by: https://github.com/Skylion007, https://github.com/malfet, https://github.com/albanD, https://github.com/aaronenyeshi
2024-05-14 19:35:51 +00:00
..
bench_gen
aot_model_compiler.cc
at_launch_benchmark.cc
benchmark_args.h
CMakeLists.txt Remove caffe2 from more build files (#125898) 2024-05-13 18:37:59 +00:00
compare_models_torch.cc [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00
core_overhead_benchmark.cc
dump_operator_names.cc
inspect_gpu.cc
lite_interpreter_model_load.cc
load_benchmark_torch.cc
optimize_for_mobile.cc
parallel_info.cc
record_function_benchmark.cc
speed_benchmark_torch.cc [codemod] c10:optional -> std::optional (#126135) 2024-05-14 19:35:51 +00:00