[BE] [3/N] Use nested namespaces (#110314)

Mostly in torch/csrc/jit/runtime and in `ATen/cuda/`

Pull Request resolved: https://github.com/pytorch/pytorch/pull/110314
Approved by: https://github.com/seemethere
This commit is contained in:
Nikita Shulga
2023-09-30 02:23:45 +00:00
committed by PyTorch MergeBot
parent 8745d2d4f2
commit ad8aef0f98
151 changed files with 317 additions and 652 deletions

View File

@ -3,8 +3,7 @@
#include <torch/csrc/jit/ir/ir.h>
#include <torch/csrc/utils/object_ptr.h>
namespace torch {
namespace jit {
namespace torch::jit {
void initPythonIRBindings(PyObject* module);
@ -48,5 +47,4 @@ struct ConcretePythonOp : public PythonOp {
void lint_python() const override;
};
} // namespace jit
} // namespace torch
} // namespace torch::jit